OREO AOSP Keyboard - General Questions and Answers

Hello There,
I downloaded official Oreo Pixel image in order to extract the LatinIME.apk file from it, but I can't open the img files with 7-Zip, I believe they must be encrypted or something...
Where can I find the Oreo ASOP keyboard ?
I'd like to install it on my Xperia XZ1 Compact (On Oreo as well), I can't live without it since Gingerbread !

how to unpack system.img on windows
how ro unpack system.img on linux
These are basically how you mount a system.img. They are actually a packed partition that you can mount.
And, as far as I know, pixel and nexus devices have Gboard as default keyboard which you can download from play store, not the LatinIME.apk. If you would like to find LatinIME I would suggest you to unpack a AOSP Oreo ROM.

I've been on the exact same page (the first one, regarding unpacking on Windows) before posting here, but the ext4 unpacker software does not seem to exist anymore. The sourceforge repository is empty...
I face so many roadblocks just to get this tiny LatinIME.apk file, it's now getting on my nerves !

Well, I managed to get it installing LeneageOS (Oreo) on some old phone that I have at home.
So I successfully transferred the LatinIME.apk to my XZ1 and installed it, but it forces closes when it should popup :crying:
Any idea ?

JackyJacks said:
Well, I managed to get it installing LeneageOS (Oreo) on some old phone that I have at home.
So I successfully transferred the LatinIME.apk to my XZ1 and installed it, but it forces closes when it should popup :crying:
Any idea ?
Click to expand...
Click to collapse
If you get a log, it will be easier to identify the problem.

My phone is not rooted, ho can I grab the log ?

JackyJacks said:
My phone is not rooted, ho can I grab the log ?
Click to expand...
Click to collapse
Tutorial on how to get log
You don't need to have a rooted phone to get logs.

Related

install apk extracted from other stock firmware or roms deodexed - help

Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
djskarpia said:
Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
Click to expand...
Click to collapse
I don't think you can just copy over a system apk from one device to another without porting it which I cannot help you with. Same thing goes for the launchers they too would need to be ported over. You could try and use something like apkManager to decompile the app then make the necessary changes to it, i.e. resolution, device name, etc, etc,. then compile it. I have no experience doing this with apps and you might find some help by digging around in the main android development forum, not the one for this device the main one.
http://forum.xda-developers.com/forumdisplay.php?f=524

Install duplicated apps ver without overwrite

I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
ivan.untalan said:
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
Click to expand...
Click to collapse
It crash as I assume
Sami Kabir said:
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
Click to expand...
Click to collapse
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
xdadfm said:
It crash as I assume
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
Click to expand...
Click to collapse
For modifying .apk files you need to Download and Setup a small tool called APKTOOL (for Windows)
Below is the link to the GUI version of apktool:
http://forum.xda-developers.com/showthread.php?p=33815550
The original version of apktool works with Windows' Command Promt's command line interface... If you want that instead, then Google "apktool for windows" or anything similar
After decompiling, I think you need to edit your AndroidManifest.xml file BUT I am not sure about this.. please Google "how to change application package name android"

[Q] How to create a Google Apps flashable zip from the stock ROM ?

From CM Gapps page it says
It is possible to perform a "backup" of the Google Apps on your device and then "restore" them, but this does take additional steps which are not covered here.
Click to expand...
Click to collapse
I'd like to know how can I do this.
I've searched all across the forum but had no luck. It looks like some kind of trade secret.
I know that it's not just a matter of pulling the apk files. Because I can see that the zip has .apk, .jars, .so, configuration and certificate files.
I'm guessing this is done by extracting the files from a system.img.
But how is this done?
Is there some script available to build a gapps zip from a system.img file?
Another thing is that my OnePlus phone doesn't has an official LP update yet (although CM12 and their gapps work fine) so I suspect this would have to be done using the stock ROM of another device, maybe a Nexus. Is this correct?
Any help is appreciated.
Thanks

[FIX]CM AOSP keyboard swipe fix zip

Hello guys. I found this annoying bug on CyanogenMod 12.1 based ROM, that the swipe feature on AOSP keyboard does not work. So I have made a flashable zip of few hundred KBs that allows you to use Swipe. You can flash it over any ROM (might work on older versions of android too) and it won't require any kind of wipe.
Requirements
Root
Custom Recovery
SwipeFix.zip - 464.4KiB
Do not mirror please.
How to use the mod?
Boot into custom recovery
Flash the zip
Reboot into system
profit
If you want to use the mod, give proper credits
Hey MZO
Thanks
IRRITATING bug indeed, I cannot believe this is not corrected in a nightly! (what is the actual solution please?)
I can report it works on the latest trltexx (SM-N910F, Note 4)
Thanks
beng
BenG7 said:
Hey MZO
Thanks
IRRITATING bug indeed, I cannot believe this is not corrected in a nightly! (what is the actual solution please?)
I can report it works on the latest trltexx (SM-N910F, Note 4)
Thanks
beng
Click to expand...
Click to collapse
Yeah, the actual solution is a missing library actually. It's not built in CM or any custom ROM, I'd include the lib in my builds tho.
Sent from my FIND7 using XDA Free mobile app
Thanks again MZO
What is the missing lib then, libjn_latinime.so?
I looked into it, and I read at some point that it had been renamed to libjn_latinimegoogle.so...
thanks
beng
2 Years later still Keyboard Swipe Problem
It's over 2 years now and this problem still appears.
I'm using an otherwise great custom ROM but the AOSP keyboard Gesture/Swipe function isn't working although it's shown.
I tried flashing this zip solution with TWRP 3.0 but the flash failed. Any ideas how to get this working? Should this zip solution still work?
Laugh2 said:
It's over 2 years now and this problem still appears.
I'm using an otherwise great custom ROM but the AOSP keyboard Gesture/Swipe function isn't working although it's shown.
I tried flashing this zip solution with TWRP 3.0 but the flash failed. Any ideas how to get this working? Should this zip solution still work?
Click to expand...
Click to collapse
Hi
I use the script but with lib64. And I can swype :good:
You have to create a lib64 folder and put the last version of the file. (Open a ROM file or gapps and take the last one)
And you have to edit the updater-script with lib64 folder.
musklor said:
Hi
I use the script but with lib64. And I can swype :good:
You have to create a lib64 folder and put the last version of the file. (Open a ROM file or gapps and take the last one)
And you have to edit the updater-script with lib64 folder.
Click to expand...
Click to collapse
Would the binary file still work? I am asking because it is 32 bit executable: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped but I am not sure how to get it for arm64. (I have a S7 btw, and the absence of swipe-typing is a big issue.)
aarem said:
Would the binary file still work? I am asking because it is 32 bit executable: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped but I am not sure how to get it for arm64. (I have a S7 btw, and the absence of swipe-typing is a big issue.)
Click to expand...
Click to collapse
You can use nanodroid with twrp

[MAGISK] Screenshot in PNG

This module patches OPLongshot's code so that it produces PNG screenshots, as it should, instead of JPEG screenshots (ew!). It patches only the VDEX/ODEX files, which have no signature on them — only the APK is signed, which we do not modify, so OPLongshot still retains system signature privileges. The original APK is included to avoid version mismatches (although I don't think there will be much issue even if it isn't includd).
Note that the OPLongshot was taken from the OnePlus 5T's system image. YMMV for other devices on OxygenOS (or even HydrogenOS?).
The current version uses the version of OPLongshot from OnePlus 5T OxygenOS 5.1.0/5.1.1 (same), with version 1.1.0.180328153957.6a699c8.
Remember to clear Dalvik/ART cache after installing this.
GitHub repository (also details of how the patch is done).
Download zip (temporary until the Magisk repo bot refreshes)
Hello, could you make a valid version for Nougat? Try yours but it does not work. You could also add the option of 9999 captured pages instead of 12 (do not do it). I saw several values ​​to modify but it did not work ... if you want I'll give you the latest version of nougat. Thank you! @angelsel
PD: Here the apk (OPLongshot) https://mega.nz/#F!KY1gHR6A!taK5YsqI4pwOpe3ewrdAWg
Youtube_Ll0r3nt3 said:
Hello, could you make a valid version for Nougat? Try yours but it does not work. You could also add the option of 9999 captured pages instead of 12 (do not do it). I saw several values ​​to modify but it did not work ... if you want I'll give you the latest version of nougat. Thank you! @angelsel
PD: Here the apk (OPLongshot) https://mega.nz/#F!KY1gHR6A!taK5YsqI4pwOpe3ewrdAWg
Click to expand...
Click to collapse
Could you run (on your device) `oatdump --oat-file=/system/app/OPLongshot/oat/arm64/OPLongshot.odex --export-dex-to=some/dir` and get the resulting DEX file?
angelsel said:
Could you run (on your device) `oatdump --oat-file=/system/app/OPLongshot/oat/arm64/OPLongshot.odex --export-dex-to=some/dir` and get the resulting DEX file?
Click to expand...
Click to collapse
Bro, the .odex file in the longshot folder that happens to you the mega, also throws me this:
Some output directory not found or symlink
Thanks!
Youtube_Ll0r3nt3 said:
Bro, the .odex file in the longshot folder that happens to you the mega, also throws me this:
Some output directory not found.
Thanks!
Click to expand...
Click to collapse
Eh? What's the exact error?
angelsel said:
Eh? What's the exact error?
Click to expand...
Click to collapse
https://ibb.co/k3UcJc
Youtube_Ll0r3nt3 said:
https://ibb.co/k3UcJc
Click to expand...
Click to collapse
Yeah, err, I didn't mean to type "some/dir" verbatim, but some path on the sdcard perhaps to export the dex to.
I guess just /sdcard will do.
angelsel said:
Yeah, err, I didn't mean to type "some/dir" verbatim, but some path on the sdcard perhaps to export the dex to.
I guess just /sdcard will do.
Click to expand...
Click to collapse
https://mega.nz/#!2U5mFSYL!i-EkFdHd5auzuY0hGUPC_ArW30MDDhQwct8gT-WLOMU
Thanks bro

			
				
Hello I tried on 5.0.4 but screenshot app crashes
This module works flawlessly on my OnePlus 5, in case anyone else wanted to try it on theirs.
Who at OnePlus decided JPGs should be used for screenshots? Gross.
Thanks!
does it work on android pie? Testing it on OnePlus 6 and it's not working. can't take screenshot anymore
Can anybody confirm if this Xposed module works on OnePlus 7T using Android 10, thanks.
---Edit---
Can confirm that it doesn't work on OnePlus 7T after attempting to flash w/ Magisk.

Categories

Resources