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
Related
This tool is designed for the Samsung Galaxy S 4G ONLY.
I am not responsible for any damage caused by this tool. I don't see how it could happen, but who knows...
This tool will allow you to upload your bootanimation.zip and it will send you back a CWM-flashable zip file to flash.
Requirements
Samsung Galaxy S 4G
CWM Recovery (tested on 3.x and 5.x)
A kernel that supports custom boot animations.
Frozen Yogurt: Here
Gingerbread: Here
Notes
A QR Code will be generated that you can scan with Barcode Scanner (or equivalent) and download your zip file directly to your phone.
Maximum number of characters for the zip filename is 20.
Uploaded file must be named bootanimation.zip.
Maximum file size for bootanimation.zip is 10mb.
Your chosen filename will have a Unix-style timestamp attached to prevent duplicate names.
Your download url will remain valid for one (1) day.
Source Code
The source code is written in PHP and is available on my GitHub. If you want to try it yourself, your web server's PHP installation must have the Zip PECL extension installed.
Link: http://bootanim.crackpot.co
I moved the script to a new home at http://bootanim.crackpot.co, along with changed the GitHub project name to "bootanim". Everything should function normally.
Package Download: undefined
Failed to move uploaded bootanimation.zip file.
Tested and I get the above error message.
Tried again 12:25 pm still get same error
There is another one that I use.
Racing19969 said:
Package Download: undefined
Failed to move uploaded bootanimation.zip file.
Tested and I get the above error message.
Tried again 12:25 pm still get same error
Click to expand...
Click to collapse
What browser are you using?
I think I corrected the issue. I think it was an issue with my PHP config only allowed 2mb uploads max.
Version 1.1 is live now with A LOT of updates.
For reasons I can't quite explain even though the script is correctly creating the zip files, once flashed they do not work. At first I figured it was a permissions issue, but that doesn't seem to be the case. So my best guess is the zip file isn't being created properly.
With that in mind, I am going to rewrite the script to use the zip class FB used on his debloater script.
We'll see what happens, shouldn't take long.
After talking with FB, I think we finally nailed the issue and it should be functioning like normal now.
Thanks FB!!!!
crackpot said:
After talking with FB, I think we finally nailed the issue and it should be functioning like normal now.
Thanks FB!!!!
Click to expand...
Click to collapse
No problem.
Script updated to version 2.1. It will now generate a QR image for you to scan from your phone, using Barcode Scanner, to download the package directly to your phone!
Works great! thanks
Johnmonkey0 said:
Works great! thanks
Click to expand...
Click to collapse
Glad you like it!
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
I wish I could help...but I dont have any experiane in developing ROM's:crying:
all developers are busy in making their Roms...
they should collaborate on the real thing....
Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
can i look at your device/kernel tree?
please I want one thing
I want please Android (5. 0) for Samsung galaxy core prime
any updatets regarding this roam
Any Updates?
Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
Any progress?
Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
please help him ....anybody so we can have rom for our PHONE.....
I'm working on the prime for verizon. If you open BoardConfig.mk there are a few lines to change. I'm not sure what yours will look like but one of them is the TARGET_BOARD_PLATFORM line. You also need to check the locations and block sizes for the partitions. Should work then. I'm still working on mine so don't quote me.
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
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.
FOR ALL CYANOGENMOD ROMS !
Note : I didn't made this fix ,it belongs to developers who worked so hard to fix
a major ROM-killer bug . I'm sharing a fix that was made after long discussions between developers
it's a very popular problem so that's why I want to help everybody
WHY Hotfix ?
this fix resolve apps installing issue as when you want to install any app for example Temp Mail from the play store
after completing installation your Launcher will crash and the whole OS will get destroyed completely
what makes the phone stuck in a bootloop and probably you will not be able to do anythink because
every time you want to install an app the same problem remain and again everything will crash
Hotfix info.
it will replace the file which cause the problem (libandroidfw.so)
from /system/lib
it's just as simple as that ! magic ! can't be easier !
Installation
just download the zip file for your ROM (cm12.1 or cm13)
and flash it just after flashing gapps
Downloads
for CM12/12.1 users :
OneDrive
Google Drive
for CM13 users :
OneDrive
Google Drive
HUGE Thanks to
@olaf Titz
@MariferC
@lescht
@Danilo-Sanchez
@xda
Sources
https://jira.lineageos.org/browse/BUGBASH-1052
https://issuetracker.google.com/issues/64434571
https://git.replicant.us/replicant/.../?id=953d2a3493aaceb3209afc7eef1ff1e7f7242908
Google
xda forums
this backup file, atu install regular friend? this is directly the same Gappsnya
ayef999 said:
this backup file, atu install regular friend? this is directly the same Gappsnya
Click to expand...
Click to collapse
I can't understand your english
this is not a backup
it's a fix to a major issue
please read
I mean this can be directly installed by using twrp, this is a backup file or a zip file
zh_eco said:
I can't understand your english
this is not a backup
it's a fix to a major issue
please read
Click to expand...
Click to collapse
ayef999 said:
I mean this can be directly installed by using twrp, this is a backup file or a zip file
Click to expand...
Click to collapse
oh dear
of course you can flash it through any recovery
it's not a ROM or anything like it ! it's a system file (lib) and flashing the zip will replace the existing one on the ROM to resolve a problem .
Looking for this patch
The download links don't seem to be working, wondering if you still have the files (or know where I can find them)?
I've found a kind of tutorial, but I'm not well equipped to decompile and recompile the libandroidfw.so to fix this on my own (and the rest of the fixes I've found were ROM specific)
Thanks!
MattEffinTurner said:
The download links don't seem to be working, wondering if you still have the files (or know where I can find them)?
I've found a kind of tutorial, but I'm not well equipped to decompile and recompile the libandroidfw.so to fix this on my own (and the rest of the fixes I've found were ROM specific)
Thanks!
Click to expand...
Click to collapse
download links are working perfectly
its just OneDrive that is a bit slow so you have to wait a bit . you can try different browsers . I added Google Drive links
if you want the original files checkout the sources (at the bottom).
HOWEVER , maybe on the files (Zip's) won't work ! you might get an error in twrp ! if that happened then you can just copy the file libandroidfw.so from the zip file and copy it to /system/lib
cheers
Bad flash
Won't get past bootloader on CM12.1 after flashing. So switched to the original backup copy I made, and boots normally. So this is not a universal patch. You have to modify the libandroidfw.so file built for the ROM as described in this post:
https://forum.xda-developers.com/showpost.php?p=77526220&postcount=13
Will this file can be flashed in any device???