CM 12/13 Installing Apps Major Bug [HOTFIX] - Android Software/Hacking General [Developers Only]

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

Related

(Arabic Persian support) Work on all Android ROMs

Hey guys
Arabic support on gingerbread and previous versions of android is really a pain in the ass .. at last there is a patch to work on any ROM
Its simple and effective
1. You need a rooted phone.
2. You need the ROM's source (zip file).
3. A ClockworkMod Recovery to flash the created zip file.
Disclaimer: I am not responsible if u bricked your phone.
How to do it:
1. Download the tool from
For All Roms - here.
For MIUI - here.
2. Extract the tool to a folder.
3. Search for a folder called input folder and open it.
3. Open your ROM source with any zip software or extract it.
4. Search for 3 files
A. framework.jar - Found in: /system/framework
B. libwebcore.so - Found in: /system/lib
C. libandroid_runtime.so - Found in: /system/lib (HTC Sense and AOSP ROMs ONLY)
5. Copy these 3 files in the input folder we have previously opened.
6. Run commands.exe
7. Follow on screen instructions till it finishes making your flashable Arabic - Persian fix
8. You will find your fix in the output folder, copy it to your SD card and flash it through the recovery (Make a nandroid backup before flashing it)
At last your ROM can read the Arabic - Persian letters correctly. Enjoy
P.S i am not the developer of this tool i just tested the tool and it works like a charm. All the thanks goes to the devs of this tool.
P.S Your rom must be deodexed, take care of this.
Moved to proper section
orb3000 said:
Moved to proper section
Click to expand...
Click to collapse
Thanks a lot .. sorry I posted it in the wrong section
Sent from my HTC Vision using xda premium
Thanks, your post lead me to the original
Thanks a lot dear, ur post lead me to the original now I must be one more happy user lol
usmandulmial said:
Thanks a lot dear, ur post lead me to the original now I must be one more happy user lol
Click to expand...
Click to collapse
Happy you are happy .. hit the thanks button if you are that happy
Thanks for the effort,
It is actually MIUI RTL fix which you can find the original one here:
Code:
miuiandroid.com/community/threads/arabic-and-persian-rtl-fix-30-10-2011-huge-update.723/
** Full Credit to [roenano] **
fakhrodn said:
Thanks for the effort,
It is actually MIUI RTL fix which you can find the original one here:
Code:
miuiandroid.com/community/threads/arabic-and-persian-rtl-fix-30-10-2011-huge-update.723/
** Full Credit to [roenano] **
Click to expand...
Click to collapse
The link u provided is a similar patch but it works for MIUI only I tried it b4 .. and when u flashed it to another ROM u r stuck at boot loop
Sent from my HTC Vision using xda premium
using arabic_script for samsung p1010 wifi
i copy and pasted 3 files from sys of my android to input folder but my framework.jar is too small (12.2 kb) compare to original one and it gives error while using commands.exe .
any suggestions?
edit: your rom must be deodexed ,took me half a day to find this out. .check that before u do anything
Thanks a lot dear
Nice
Thank you !!!!!!! :victory:
I flashed the output zip file through recovery, the process was aborted so the flashing failed. The ROM is fine, nothing damaged.
My question is:
Is it safe if I replaced the output files inside the ROM's zip file and then install the ROM again?
Yes
cat_Thirst said:
I flashed the output zip file through recovery, the process was aborted so the flashing failed. The ROM is fine, nothing damaged.
My question is:
Is it safe if I replaced the output files inside the ROM's zip file and then install the ROM again?
Click to expand...
Click to collapse
Yes it's perfectly safe. I always did that with MIUI roms, by putting the arabic in the zip file then flash it. To be 100% safe just do a nandroid backup before flashing the new rom with the arabic files. Hope that helps, try it and get back to me.
h.motawee said:
Yes it's perfectly safe. I always did that with MIUI roms, by putting the arabic in the zip file then flash it. To be 100% safe just do a nandroid backup before flashing the new rom with the arabic files. Hope that helps, try it and get back to me.
Click to expand...
Click to collapse
I put the arabic files into the ROM zip file, wiped data and cache and performed a nandroid backup.
But when I tried installing the ROM with arabic files it said that the installation is aborted! What could be my mistake?
This is the exact text displays after the failed installation:
Installing update...
E: Error in /sdcard/Creed_3.5_totoro.zip
(Status 0)
Installation aborted.
I use Creed ROM 3.5 for Samsung Galaxy Y.
Am I using the right ROM for the right device? or can u help me get through this problem?
cat_Thirst said:
I put the arabic files into the ROM zip file, wiped data and cache and performed a nandroid backup.
But when I tried installing the ROM with arabic files it said that the installation is aborted! What could be my mistake?
This is the exact text displays after the failed installation:
Installing update...
E: Error in /sdcard/Creed_3.5_totoro.zip
(Status 0)
Installation aborted.
I use Creed ROM 3.5 for Samsung Galaxy Y.
Am I using the right ROM for the right device? or can u help me get through this problem?
Click to expand...
Click to collapse
Did u replace the right files as mentioned in the tutorial, just make sure that everything is going exactly as mentioned above or in the tool itself. I tried this tool with more than 10 roms and it worked perfectly with every rom coz it injects the arabic to the framework itself. Please try again and make sure everything is done in the right way and get back to me.
Thank you very much!
I messed up before, but now...
My phone can read and write Arabic letters properly!
before i was worried because it won't write Arabic, but now I found the option in the Ice cream sandwich keypad.
Thank u so much!
At last
cat_Thirst said:
Thank you very much!
I messed up before, but now...
My phone can read arabic letters properly!
Only it cannot WRITE arabic, what to do?
I went to:
Settings > Locale and text > Could not find arabic
I also checked the keypad settings but there's no arabic to write!
Click to expand...
Click to collapse
I am happy it worked for you at last. To write arabic download a third party keyboard that supports arabic. My recommendation is swiftkey 3, it's an amazing keyboard. If u r using the market alternative "Aptoide" add my store at http://haithammotawee.bazaarandroid.com or http://haithammotawee.aptoide.store.com and u will find the application on it.
Happy i could help you, enjoy ur Arabic phone.
P.S like the post please if it was helpful to you.
h.motawee said:
I am happy it worked for you at last. To write arabic download a third party keyboard that supports arabic. My recommendation is swiftkey 3, it's an amazing keyboard. If u r using the market alternative "Aptoide" add my store at http://haithammotawee.bazaarandroid.com or http://haithammotawee.aptoide.store.com and u will find the application on it.
Happy i could help you, enjoy ur Arabic phone.
P.S like the post please if it was helpful to you.
Click to expand...
Click to collapse
Sir I Am Using Huawei U8800 With Custom Gingerbread 2.3.6 ROM. I Tried Your Fix But Its Now Working. I Stuck On Huawei Logo So Please Help Me Sir.
Didn't work
while flashing, it says error status (0) and stops.Any help?
iAhmedMaher said:
while flashing, it says error status (0) and stops.Any help?
Click to expand...
Click to collapse
Does it say any other info or just err status (0)?!
hello
i have i9070 galaxy s advance
and i downloaded Romes jplk2 with Persian language and Ublph without persian language
jplk2 and ublph have stock rom
how can transfer persian language from jplk2 to ublph?
ublph better than jplk2

[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

[Q] Hey guys, I need some advice please

What is the best way to decompile Apks? Is apk tool the best option? As i feel like it's a complicated tool.......
And is there any way to decompile Apks and edit xmls on android without using a computer?
Another think is that i am thinking about making some kind of rom for our device, so just want to know the basics for doing this(making a flashable zip - modifying SystemUI - Framework).....
My rom is not going to be such a huge development because i am still a starter,so i am thinking about making a rom that contains all of the awesome things that other developers made ........
It will be based on one of the custom roms available,and for now, this is what i think it will contain(Xperia Z3 Apps by strayder~007,smart social camera, working sound enhancements,one of the cool frameworks,Xperia lollipop firmware Icons already included........etc).......
You should know that I will never use any of the ports that others made without their permission.....
Please let me know your opinion!! Don't read and just leave without replying......
If anyone wants to help me, let me know, i will start building my rom after 17 /6......
But i need your help starting from know......
The first step is knowing how make a flashable zip right?
Saelfos Emaka said:
Please let me know your opinion!! Don't read and just leave without replying......
If anyone wants to help me, let me know, i will start building my rom after 17 /6......
But i need your help starting from know......
The first step is knowing how make a flashable zip right?
Click to expand...
Click to collapse
Bro to be honest..don't try to build roms...
First try how to port apps and solve fc's it will help you..
but yes indeed how to make a flashable zip is the first part..
Samuel Wankhede said:
Bro to be honest..don't try to build roms...
First try how to port apps and solve fc's it will help you..
but yes indeed how to make a flashable zip is the first part..
Click to expand...
Click to collapse
Ok thanks for your advice,and about the rom, it will be based on an already built custom rom by someone else with some apps ported by others and some small modifications by me, just to make sure it won't lead troubles.
Would you like to help me with flashable zip?
I will be ready when you are ..
And about your phone, what happened with it?
Is it working now? How did it brake?
Saelfos Emaka said:
What is the best way to decompile Apks? Is apk tool the best option? As i feel like it's a complicated tool.......
And is there any way to decompile Apks and edit xmls on android without using a computer?
Another think is that i am thinking about making some kind of rom for our device, so just want to know the basics for doing this(making a flashable zip - modifying SystemUI - Framework).....
My rom is not going to be such a huge development because i am still a starter,so i am thinking about making a rom that contains all of the awesome things that other developers made ........
It will be based on one of the custom roms available,and for now, this is what i think it will contain(Xperia Z3 Apps by strayder~007,smart social camera, working sound enhancements,one of the cool frameworks,Xperia lollipop firmware Icons already included........etc).......
You should know that I will never use any of the ports that others made without their permission.....
Click to expand...
Click to collapse
1) Best way to decompile apk files is to decompile them using Advanced APK Tools (this tool is specially made for Xperia software)
2) To make ROM you need
* Rooted Device with CWM installed.
* Build Version of the Deodexed Stock Backup / base ROM should be same as build version of your Device.
* Deodexed Stock System / Any base ROM
* You can edit SystemUI.apk, Home.apk, framework.jar, framework_res.apk,build.prop,settings.apk other system apps and files, Media Folder, Bootanimation.zip file, you can add more apps and animation and tones etc and what else you want to... depends upon your creativity.
* Tools Required : Advanced APK Tools(java should be installed to use this tool) , Photoshop, BootAnimation Creator, Notepad++, Windows Image Re-sizer, 7-Zip etc.
* Meta-INF folder which you can get from any existing ROM, boot.img which you can get from CWM backup of your device.
* Firmware ftf file and Wmshua Tool for in case you get wrong with your device.
* Permission from the OP of the Threads from where you get the Raw Material and also give Credits to them.
-Deodexed Stock System (16.0.B.2.16) : Click HERE
-Base ROM (16.0.B.2.16) (A ROM be me) : Click HERE
-Advanced APK Tools : Click HERE
-16.0.B.2.16 ftf : Click HERE
-Wmshua (opth the installation directory and rename the language folder to folder_x to set language as English): Click HERE
Other Useful Links :
http://forum.xda-developers.com/sony-xperia-c/general/guide-how-to-add-rom-developer-t2999668
http://forum.xda-developers.com/sony-xperia-c/themes-apps/how-to-custom-home-button-t2828974
iSiddharth said:
1) Best way to decompile apk files is to decompile them using Advanced APK Tools (this tool is specially made for Xperia software)
2) To make ROM you need
* Rooted Device with CWM installed.
* Build Version of the Deodexed Stock Backup / base ROM should be same as build version of your Device.
* Deodexed Stock System / Any base ROM
* You can edit SystemUI.apk, Home.apk, framework.jar, framework_res.apk,build.prop,settings.apk other system apps and files, Media Folder, Bootanimation.zip file, you can add more apps and animation and tones etc and what else you want to... depends upon your creativity.
* Tools Required : Advanced APK Tools(java should be installed to use this tool) , Photoshop, BootAnimation Creator, Notepad++, Windows Image Re-sizer, 7-Zip etc.
* Meta-INF folder which you can get from any existing ROM, boot.img which you can get from CWM backup of your device.
* Firmware ftf file and Wmshua Tool for in case you get wrong with your device.
* Permission from the OP of the Threads from where you get the Raw Material and also give Credits to them.
-Deodexed Stock System (16.0.B.2.16) : Click HERE
-Base ROM (16.0.B.2.16) (A ROM be me) : Click HERE
-Advanced APK Tools : Click HERE
-16.0.B.2.16 ftf : Click HERE
-Wmshua (opth the installation directory and rename the language folder to folder_x to set language as English): Click HERE
Other Useful Links :
http://forum.xda-developers.com/sony-xperia-c/general/guide-how-to-add-rom-developer-t2999668
http://forum.xda-developers.com/sony-xperia-c/themes-apps/how-to-custom-home-button-t2828974
Click to expand...
Click to collapse
Thanks man!!! You are awesome! This is all what I need to start, i love you
Saelfos Emaka said:
Thanks man!!! You are awesome! This is all what I need to start, i love you
Click to expand...
Click to collapse

[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

[BUG FIX] For CM10.1 galaxy pocket plus

Hi everyone!!!
I have my bug fixes for CM10.1.. It takes me many days & nights just to compile this..
Requirements
1.TWRP
2.Aroma File manager
What bug can be fixed using this:
Egl (but some flickering exist)
WiFi
Internal & sdcard
The zip file in link is not flashable so u set permission in ur own.. And i recommend u to use Xado's CM10.1 port.... If u know some other fixes.. Plz tell me so I can try too
Download:
http://www.4shared.com/zip/BJOohqKPba/CM10bugFix.html
Procedure
1. Factory reset
2. Install CM10.1.. The one that have working touch
3. Extract the files in /system except "boot" folder (must replace files)
4. Rename "boot.IMG" from boot folder to "boot.emmc.win" and place this in any twrp backup folders.. Then restore boot
good
New news?
Wesley7th said:
New news?
Click to expand...
Click to collapse
still no stable CM for coriplus.
coriplus is dead :crying:
Do you still have the file? If yes, can you re-upload it? Please!

Categories

Resources