P30 Lite Enable Gesture Swiping On AOSP Keyboard - Lineage OS - Huawei P30 Themes, Apps, and Mods

A quick guide on enabling gesture swipe on the default AOSP keyboard bundled with Lineage OS
1. Head over to https://opengapps.org/ and download the pico version of the zip for your phone (P30 Lite is arm64 Android 9.0 Pico)
2. Open the provided zip (open_gapps-arm64-9.0-pico-20210220.zip)
3. Go to and extract the following archive Optional > swypelibs-lib-arm64.tar.lz
4. extract the following file swypelibs-lib-arm64 > common > lib64 > libjni_latinimegoogle.so
5. Copy this to /system/lib64/
5. chmod 0644 libjni_latinimegoogle.so
6. chown system:system libjni_latinimegoogle.so
7. restart phone
8. Confirm you have the swipe function

Related

[TOOL 07/11] Easy Fre3vo w/ Perma-Temp, Bloatware Disabler & Overclock (Win/Mac/Lin)

[TOOL 07/11] Easy Fre3vo w/ Perma-Temp, Bloatware Disabler & Overclock (Win/Mac/Lin)
I want to start by thanking TeamWin for all of their hard work and the effort they have put in to Fre3vo. I also want to thank Daddyroot for his "Easy Copy/Paste." Euegene373 for his Perma-Temp root method, and Coolbho3000 for his Cverclock work! I also want to thank Mikeyxda for helping tidy things up a bit!
What is Easy Fre3vo?
Easy Fre3vo is a simple batch file that will give you temp-root, as well as give you a functioning Superuser ability. I have tested Titanium Backup. It worked flawlessly. I hope this helps and makes things easier for everyone!
Windows - How to:
1. Download and Install HTC Sync (Download Here)
2. Uninstall HTC Sync
3. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
4. Download the attached ZIP
5. Extract the Folder
6. Open the Windows Directory
6. (a) Run Easy_Fre3vo_Start.bat
6. (b) If you lose root, Run_Easy_Fre3vo_Redo.bat
Mac - How to:
1. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
2. Download the attached ZIP
3. Extract the Folder to your Desktop (This is required)
4. Open Terminal (Finder > Search "Terminal" > Open Terminal)
5. Type: cd "desktop/Easy Fre3vo/Macintosh"
6. Type: chmod +x "./Easy_Fre3vo_Start.command"
7. Type: chmod +x "./Easy_Fre3vo_Redo.command"
8. Open the Macintosh Directory
9. (a) Run Easy_Fre3vo_Start.command
9. (b) If you lose root, Run Easy_Fre3vo_Redo.command
Linux - How to: (Thanks to Bigmase521)
1. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
2. Download the attached ZIP
3. Extract the Folder
4. Open Terminal and cd to Linux in the Extracted Folder.
5. Run this command in the terminal: chmod +x "Easy_Fre3vo_Start.sh"
6. Run this command in the terminal: chmod +x "Easy_Fre3vo_Redo.sh"
7. (a) Run this command in the terminal: "./Easy_Fre3vo_Start.sh"
7. (b) If you lose root, Run this command in the terminal "./Easy_Fre3vo_Redo.sh"
----------------------------
Bloatware Disabler:
This will remove the following Bloatware from your device:
mSpot Radio
DocMaster
TeleNav
MobiTV
Sprint
SpiderMan
Qik
Gameloft Widget
Report Agent
Nascar
HTC Log
eReader
AppSharing
Blockbuster
Windows - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open the Windows Directory
6. Run Remove_Bloat.bat
Mac - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder to your Desktop (This is required)
5. Open Terminal (Finder > Search "Terminal" > Open Terminal)
6. Type: cd "desktop/Easy Fre3vo/Macintosh"
7. Type: chmod +x ./Remove_Bloat.command
8. Open the Macintosh Directory
9. Run Remove_Bloat.command
Linux - How to: (Thanks to Bigmase521)
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open Terminal and cd to Linux in the Extracted Folder.
6. Run this command in the terminal: chmod +x Remove_Bloat.sh
6. Run this command in the terminal: ./Remove_Bloat.sh
----------------------------
Overclock
This will give you the ability, in SetCPU, to overclock your device to 1728000mhz.
Windows - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open the Windows Directory
6. Decide weather you have applied the OTA then, Run_Overclock_OTA.bat or Overclock_Pre_OTA.apk
Mac - How to:
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder to your Desktop (This is required)
5. Open Terminal (Finder > Search "Terminal" > Open Terminal)
6. Type: cd "desktop/Easy Fre3vo/Macintosh"
7. Type: chmod +x "./Overclock_OTA.command"
8. Type: chmod +x "./Overclock_Pre_OTA.command"
9. Open the Macintosh Directory
10. Decide weather you have applied the OTA then, Run Overclock_OTA.command or Overclock_Pre_OTA.command
Linux - How to: (Thanks to Kushdeck)
1. After aquiring root, if you used my method skip to step 5.
2. Enable USB Debugging [Menu > Settings > Applications > Development] (Thanks Kitinas)
3. Download the attached ZIP
4. Extract the Folder
5. Open Terminal and cd to Linux in the Extracted Folder.
6. Run this command in the terminal: chmod +x "Overclock_Pre_OTA.sh"
7. Run this command in the terminal: chmod +x "Overclock_OTA.sh"
8. Decide weather you have applied the OTA then, Run this command in the terminal: "./Overclock_OTA.sh" or "./Overclock_Pre_OTA.sh"
----------------------------
[Note: If you notice any errors while a script is running, after, please check the device to see if it is rooted before posting that it simply did not work. Strange, but sometimes errors occur and everything turns out just fine!]
----------------------------
Change Log:
[07/11]
Repaired Macintosh Scripts
Changed Bloatware to Disable, it's permanent!
Repaired Linux Scripts
[07/10]
Updated Macintosh Scripts
[07/10]
Updated Bloatware Removal
[07/10]
Updated Macintosh Scripts
[07/10]
Updated Linux Scripts
Updated Overclock Scripts: 2 Scripts
[07/09]
Easy Overclock
[07/09]
Perma-Temp Root (Thanks Eugene)
Cleaned Folders
Bloatware Remover
[07/07]
Cleaned Script
New Start, and Redo Script
Support for Macintosh and Linux
[07/07]
Initial Release
----------------------------
If you have any issues, let me know!
If you appreciate my work, you can buy a coke[I'm not of age to have a beer...] or simply hit the Thanks button, I appreciate both.
I'll need to try this out when I get home. Great work!
Thanks! I originally made this for my Sensation, but I figured those with Evo 3D's could use it as well.
From the phone or cpu?
Thanks for the script. I'm assuming this is just a script that should be run the first time... But what about every time you reboot? Does the same script need to ran? Or can you make a quick script with what's needed after this initial script is ran for every reboot?
@dp13 Run it from the PC
@tigereyeslalo I just run it every time I reboot, doesn't hurt.
Wisefire 1000 thanks. It doesn't get easier then that.
Sent from my PG86100 using XDA Premium App
Wisefire said:
@dp13 Run it from the PC
@tigereyeslalo I just run it every time I reboot, doesn't hurt.
Click to expand...
Click to collapse
Would you need to have SDK installed on ur PC or any PC u wish to run this.?
Sent from my PG86100 using XDA Premium App
Did not work for me. Are there special drivers I need? Is there any step you could have left out at all?? Maybe a small detail that you didnt include?
@CJPRICO Nope, I included the ADB files and everything.
@taygutta You're the first person it hasn't worked for, what version of windows are you running, and can you copy all of the text from the command prompt and post it here?
Worked prefect
Must not have the HTC sync drivers
Sent from my GT-P7510 using XDA Premium App
Do you have USB debugging checked? Worked in seconds for me.
Sent from my PG86100 using XDA Premium App
oh man....i just saw this....wish i brought my usb cable out to work...dont get off till 10 tonight....arrgghh.....
works great thanks for this...
FWIW I had to wait a min after the daemon was initialized then it went just fine.
Works great thanks.
will this work if you updated your OTA?
southphillysean said:
will this work if you updated your OTA?
Click to expand...
Click to collapse
It should. Yes.
Si I need to download the zip on the PC, extract it to.the phone then...?
Sent from my PG86100 using XDA Premium App
Wow thank you. I'm able to run chainfire now. Now to try some Tegra 2 games =)
EDIT: Spoke too soon. Chainfire will open but cant install CF3D to rom since its not fully rooted.

[GUIDE] How get rid of Kaspersky and unlock your phone

This guide will help you to get rid of Kaspersky and unlock your locked mobile phone in case you don’t remember your pin/unlock code. It describes how I've done this when forgotten unlock code. Everything wrote below is based on online search and experiments with my phone. You just need basic computer knowledge and follow steps below. It works great on my Samsung Galaxy S3 Mini (GT-I8190N) with Android 4.1.2 onboard. Good luck.
IMPORTANT !!!​Search online how rooting may affect your mobile phone warranty and do not continue if warranty is more important for you then your data. Phone can be unrooted as well, search online…
Using this method WILL NOT delete any other of your data, apps, contacts, SMS, etc.
Getting root access
Steps listed below are based on this website (sorry, can't post links, please send me PM if you need them). There are also links to necessary software but my advice is to search online for latest version. You need SD Card to install software and for system backup (more GB card has more backups you can make).
Software needed
1. Download Samsung USB Drivers and install them on your computer
2. Download Android SDK and unpack to your hard drive
3. Download ClockworkMod ROM Manager
4. Download ODIN and unpack to your hard drive
5. Download SuperSu
Getting root access (it is more convenient to open phone for better access to battery)
6. Pull battery out and refit (or switch phone off)
7. Press and hold Volume Down + Home button + Power button for few seconds to enter software download mode
8. Press Volume Up button when you see warning message screen to continue
9. Connect USB cable to your phone and computer
10. Unzip (if necessary) ClockworkMod ROM Manager to have .md5 file
11. Run ODIN. Make sure Auto Reboot and F. Reset Time options are ticked. ODIN should show the message confirming connection to device (bottom left) and COM port ID (top left) if not repeat steps 6-9
12. Press PDA button and browse to unzipped .md5 file and then press Start button
13. Phone should reboot after software installation is complete
14. Copy SuperSu .zip file to SD Card, pull battery out and enter card into the phone. Refit battery
15. Press and hold Volume Up + Home button + Power button for few seconds to enter ROM Manager (ClockworkMod Recovery)
16. Select install zip from sdcard ==> choose zip from external sdcard ==> browse to SuperSu zip file and confirm installation when prompted
Backup and software modification (based on this website, sorry can't post links, please send me PM if you need them)
17. Repeat step 15 if needed to run ROM Manager than choose backup and restore ==> backup to external sdcard and wait till process is finished (this is copy of all your existing software, data, SMS, etc.)
18. Choose mounts and storage option then select mount /data (if you need go back option is always at the bottom of menu)
19. Press Win+R or Start-->Run… and type in cmd to run console
20. Browse to adb.exe file (it is located in SDK folder ex. C:\adt-bundle-windows-…..\sdk\platform-tools\) using cd folder name command ex. cd platform-tool
21. Type in adb shell and press ENTER
22. Navigate to /data/app folder using cd /data/app command
23. List files using ls –a –p command (press ENTER after each command used in console) and find kms file (I have com.kms.free-1.apk file)
24. Delete kms file using rm com.kms.free-1.apk command
25. Navigate to /data/data folder using cd /data/data command
26. Repeat step 23
27. Delete kms folder using rm –r com.kms.free command (make sure –r parameter is entered in command)
28. Navigate to /data/dalvik-cache folder using cd /data/dalvik-cache command
29. List files using ls –a –p command and find kms file (I have [email protected]@[email protected] file)
30. Delete kms class file using rm [email protected]@[email protected] command
31. Navigate to /data/system folder using cd /data/system command
32. List files using ls –a –p command and find locksettings.db files
33. Delete locksettings files using rm locksettings.* command
34. List files using ls –a –p command and find packages.list and packages.xml files
35. Run new console window (step 19) and navigate to adb.exe file (step 20)
36. Type in adb pull /data/system/packages.list and press ENTER (file will be copied form your phone to PC's hard drive into …\platform-tools\ folder, always where adb.exe file is located)
37. Type in adb pull /data/system/packages.xml and press ENTER (file will be copied to same folder as in step 36)
38. Open folder with packages files and edit them using any of text file editor (Notepad, TextPad, etc.)
39. Inside packages.list file search for kms and delete each row containing it. Save file when done
40. In packages.xml file search for kms and delete each row containing it. IMPORTANT!!! In this file you will find sections starting with <package> tag and ending with </package>. One section includes kms. Select and delete entire kms section including corresponding <package>…</package> tags. Save file when done
41. Switch to second windows console opened in step 35 and send files from PC into phone using adb push packages.xml /data/system and adb push packages.list /data/system commands
42. Press reboot system now in your ROM Manager or pull out and refit battery to switch phone off and then switch it on
Enjoy and NEVER GIVE UP!!!
If you have any questions please post them and I'll try to help as much as I can.

[HOWTO] Get Layers (RRO) working on AOSP ROM

Only tested this on Broken ROM: FULLY WORKING WITH UNINSTALLING
1. Go get Broken Rom installed
2. Let everything boot up
3. Make sure you install SuperUser 2.46 is latest
4. Once up and running, install Layers Manager from Play Store, DO NOT APPLY ANYTHING YET!
5. Reboot into recovery
6. Mount the system partition with command: mount /system
7. Go to root vendor partition: cd /vendor (optional)
8. Make a directory called "overlay" with command: mkdir /vendor/overlay
9. Set correct permission: chown -R root:shell /vendor/overlay
10. Change to system partition with command: cd /system
11. Link /vendor/overlay to /system/vendor/overlay (I'll explain why later) with command: ln -s /vendor vendor
12. 9. Set correct permission: chown -R root:shell /system/vendor/overlay
13. You the two are now link, and to test type in: ls -l /system and you should see directory vendor points to /vendor partition.
14. Reboot tablet and install any theme you like and use Layer Manager to apply them as usual.
Step 11 is crucial because the way I read, Layer Manager looks at a directory in /system/vendor/overlay to copy all the overlay. Now on N9, that directory doesn't exist and moved to /vendor instead of /system/vendor. Therefore, we just create a symbolic link between the two to avoid manual copy and paste of APK and let the LM app works as expected.
I tested my N9 with Prime Red Black from Play and works perfectly.
Followed and it worked like a charm. Thank you so so much!
I followed the instructions and I was able to create a back up for the first time without Layers crashing. :good: Applied Lobo and I'm good to go!
Gonna try this on an N6. Don't see any reason why it shouldn't work.

Blu Vivo 5 Multi-window view

You'll either need root or a custom recovery to do this, but as not everyone wants root.
1. Here's how you do it with TWRP, a USB cable, and a PC with ADB:
2. Root (easiest method)
Method 1
Boot your device into recovery
2. Mount your system by going to Mounts > Tick System
3. On your PC open a command line, somewhere like your desktop is useful
4. Type the following command:
HTML Code:
adb pull /system/build.prop
5. Open the build.prop file with your favourite editor, I recommend using Notepad++ on Windows
6. Find the "ro.build.type" line
7. Change the text after = to "userdebug" from "user"
8. Save the file in Notepad
9. Go back to the command line and enter the following command:
HTML Code:
adb push build.prop /system/
10. Now open a shell doing:
HTML Code:
adb shell
11. Now a adb shell will open, enter these commands:
HTML Code:
cd system
THEN
chmod 644 build.prop
12. Reboot the device as normal
13. When the device has booted, go to the developer options
14. Scroll down to the bottom of the "Drawing" category
15. Enable multi-window and have some fun!
METHOD 2 -Root
This is the easiest way
1. Go to google Play Store
2. Find BuildProp Editor by JRummy Apps and install
3. In the app, locate Ro.Build.type
4. Change "user" to "userdebug"
5. Then Reboot from the App (normal reboot)
6. Go to developer options, scroll down until you see enable multi window view
Good Luck
All credit to Quinny899
Can you provide a screenshot? I don't want to do anything that might possibly damage my device.
Can confirm that this works!
I have just tried it.

Swipelibs (Gesture Typing) for AOSP Keyboard - Lineage 15.1 (arm64, etc)

Hi folks,
I couldn't get any of the flashable swipelib zips I've found to actually install properly on Lineage 15.1 for pioneer, so I packaged up the arm64 libs into a zip and wrote a small installer script that uses adb to get root, remount partitions r/w, and push + chmod the correct files. Note that you do not need addonsu for ADB root shell access, enable that in Settings -> Developer Options -> Root Access (after enabling USB Debugging).
Instructions
Unzip the archive, make reinstall-swipelibs.sh executable if necessary (chmod +x reinstall-swipelibs.sh), and run the script. The rest should work assuming you've got adb setup properly.
Notes
I included the original A/B updater script and the (apparently installable?) zip of the swipe libs for different architectures. Therefore, if you need different archs for some reason, just extract and replace the .so's in the base directory with the appropriate ones from the original zipfile, then run the script - if you do so, you will need to change the paths in 05-swipelibs.sh to reflect either 'lib/' (for arm) or 'lib64/' (for arm64) respectively and push it back to the phone (-> re-run the included script).
Link
https://drive.google.com/open?id=1wmHbj47YIgWUg7DU6CQ2EpMOIIQtEvRH
Best of luck!

Categories

Resources