Swap memory disabler - LG V20 Themes, Apps, and Mods

I made this Magisk Module for Oreo to see if I could reduce the lag
Check and share your results
PS: I'm going to push updates to the SSSB tg channel more likely than here
PS2: Someome mentioned me a module in the repo after I made this, I tried and it made my phone stuck at boot logo.

For those who are not into this, taken from RAM Truth:
Using swap increases your CPU usage, especially with zram where constant compression and decompression is going on (like using zip files on your PC), and is rarely beneficial on modern devices. Despite this, it's made a resurgence in the market.
Swap - A virtual memory scheme to increase your apparent total RAM. Unless you installed a modification to put this in storage, if you have swap you probably have a compressed block of RAM (called zram) acting as a virtual hard disk for this.
Users with rooted devices can very probably find kernel helpers or mods to let you change or turn off swap.

Daved+ said:
I made this Magisk Module for Oreo to see if I could reduce the lag
Check and share your results
PS: I'm going to push updates to the SSSB tg channel more likely than here
PS2: Someome mentioned me a module in the repo after I made this, I tried and it made my phone stuck at boot logo.
Click to expand...
Click to collapse
Just want to know the TG channel link, to stay up to date, thank you for the work it increase performances a bit .

zinou213 said:
Just want to know the TG channel link, to stay up to date, thank you for the work it increase performances a bit .
Click to expand...
Click to collapse
Info is in my sig
BTW I'm using this in Nougat with excellent results.

Thanks for this - been running it for a week and all is good.
I wanted to check in for updates, but not sure where / what the SSSB Telegram channel is?
Anyway you could link a new version?

Has this truly reduced lag?
I ask since there's mixed views online about disabling swap.

Thanks Daved+. Module does exactly what it was suppose to do. It saves me one less line in App2SD or Kernel Adiutor when disabling ZRAM.
For people reading. ZRAM is a compromise between increased multitasking and performance. The informations are clear as to how Swap partition works. It is up to you to decide what is more important to you.

baldybill said:
Has this truly reduced lag?
I ask since there's mixed views online about disabling swap.
Click to expand...
Click to collapse
Depends on the firmware. Disabling swap made my H918 more snappy for sure on both Nougat and Oreo, but when I had my V30 disabling it actually made it worst. Definitely a try and see. Also Swap torpedo on the magisk repo does this same exact thing just FYI for people wanting to know.

Kernel auditor have this function too in Virtual memory. Thing is i don't know the right settings to use

Ex Kernel manager has this function as well. I turned off zram which takes a few minutes, prolly a reboot would be quicker. Didn't observe any major change but I didn't test it exhaustively so turned it back on. I don't like changing things when I don't fully understand what's going on. I don't have any lag now anyway, nothing like it was when I used it in stock form anyway.

Thank you, It works well on my lgv20

Daved+ said:
I made this Magisk Module for Oreo to see if I could reduce the lag
Check and share your results
PS: I'm going to push updates to the SSSB tg channel more likely than here
PS2: Someome mentioned me a module in the repo after I made this, I tried and it made my phone stuck at boot logo.
Click to expand...
Click to collapse
On other side rather disabling swap i want to know if decreasing swap size worthy if don't want to disable zram totally.

Related

[Script] MSM8916 Interactive Governor Tuning

This is a script made by a member on AndroidForums originally for the LG Leon. We noticed that the CPU doesn't fall below 800mhz at all regardless of being under load or idle. This causes alot of battery drain since the CPU is running for literally no reason. I noticed the same problem on my Grand Prime G530T as the two devices share the same CPU.
This script will tune the CPU frequencies to drop to 200mhz when idle and fixes the time spent at higher frequencies, spreading the load across the cores more evenly for sustained performance and better battery life.
Instructions (root required obviously):
Download the script and extract it
Install SManager from the Play Store
Locate and select the MSM8916.sh file
At the top select SU
Hit RUN and allow permissions if asked
To see the difference, use a kernel tuning app (Kernel Adiutor I recommend) and watch the cores before and after running the script. It really does make a significant difference.
Credit to Bichofelix at AndroidForums for the script
Edit: fixed the script, now will keep max freq at 1190mhz instead of 998mhz
Edit 2: added sample screenshots of projected battery life
Hi, my device is G530HXCU. I also noticed on CPU-Z app that my device CPU doesn't fall below 800mhz. Tried using this script by following your procedures but the SManager shows "swapon failed for dev/block/zram0" when I run the script, just wanna ask if it is normal? Though when I closed all other apps on the task manager, my device CPU is now shown as 200mhz in CPU-Z. It seems like it worked. Thank you.
slasherkev said:
Hi, my device is G530HXCU. I also noticed on CPU-Z app that my device CPU doesn't fall below 800mhz. Tried using this script by following your procedures but the SManager shows "swapon failed for dev/block/zram0" when I run the script, just wanna ask if it is normal? Though when I closed all other apps on the task manager, my device CPU is now shown as 200mhz in CPU-Z. It seems like it worked. Thank you.
Click to expand...
Click to collapse
Yeah, the swapon thing can happen if your kernel (I think) doesn't support swap memory/zram. My G530T with the custom root kernel does and I don't receive this error, but it won't hurt anything if that particular part of the script doesn't run.
Enjoy the script and let us know how your device is faring with battery and performance. I'm a heavy gamer and from personal experience I get the same amount of performance and better battery, letting me play harder for longer ^_^
Hi, just wanted to share some feedback while using it. It greatly helps with reducing the battery drain and I really loved it, but on my G530H device, I need to run this script again whenever I reboot my phone. Though, when I did press the "boot" icon beside the "su" icon in the SManager and run the script again, it somehow solves the problem. However, the other problem that I've seen so far is that the maximum cpu of my device becomes 998mhz only, so I need to overclock it using a CPU controller app (I used No-frills CPU Control in playstore) to make it 1.19ghz and it worked. Is there anything I can do to help you fix that in the script so I won't need to use any CPU control app? Thank you very much I'm just a newbie here.
slasherkev said:
Hi, just wanted to share some feedback while using it. It greatly helps with reducing the battery drain and I really loved it, but on my G530H device, I need to run this script again whenever I reboot my phone. Though, when I did press the "boot" icon beside the "su" icon in the SManager and run the script again, it somehow solves the problem. However, the other problem that I've seen so far is that the maximum cpu of my device becomes 998mhz only, so I need to overclock it using a CPU controller app (I used No-frills CPU Control in playstore) to make it 1.19ghz and it worked. Is there anything I can do to help you fix that in the script so I won't need to use any CPU control app? Thank you very much I'm just a newbie here.
Click to expand...
Click to collapse
As stated in the OP, its not my script. But I went ahead and did it for you. Redownload the file and do the same as before. Setting the Boot option in SManager will run the script at boot after the system loads and the apps can gain SU permissions
Thanks for the tip and and glad you enjoy!
Added screenshots to the OP as proof of battery saving with the script.
Note: This usage was actually with an app called Resolution Changer that allowed me to use my screen in 720x1280 resolution, higher than stock which is 540x960. I also have Viper4Android installed with the highest audio driver available for it. These mods actually add more stress on the CPU, GPU and battery which would cause more drain. But as you can see...
I am also using a personally rebuilt rom that isn't ready for release yet as I'm having issues building it.
Who needs a 4000mha battery when you know how to use your system?!
Hello guys! I'm posting this now as I was searching on the Internet about Qcomm msm8916 devices! One tip I can give you as I learned some things, is to learn to build your device's kernel from source if your vendor has released it and remove the stock cpufreq limit API, as it is common in qcom. This API simply locks the frequency above some values to seem more snappy, but also reduces battery life in general! So it is common to sacrifice battery for speed and vice versa.. As you will see there are lots of posibilities also if you search the ramdisk for "optimizations" in frequencies that are done there, and change them to your liking! Happy modding! Cheers!
Nick Verse said:
Hello guys! I'm posting this now as I was searching on the Internet about Qcomm msm8916 devices! One tip I can give you as I learned some things, is to learn to build your device's kernel from source if your vendor has released it and remove the stock cpufreq limit API, as it is common in qcom. This API simply locks the frequency above some values to seem more snappy, but also reduces battery life in general! So it is common to sacrifice battery for speed and vice versa.. As you will see there are lots of posibilities also if you search the ramdisk for "optimizations" in frequencies that are done there, and change them to your liking! Happy modding! Cheers!
Click to expand...
Click to collapse
Nice bit of info there, but this script actually furthers those optimizers to reduce the number of cores needed to run processes and at lower frequencies. If it doesn't need it, your wasting performance and battery. This script helps regulate core speeds and cores online depending on what your doing using the interactive governor, which appears was not setup properly by the phone manufacturer of the device containing the msm8916 chipset.
I tried using it in CM12.1 unofficial rom for G530H and it works. I also think it helps reduce the appearance of deadlock bug for that rom. I edited the script and set the maximum cpu value to 1190400 instead of 1190000 because my device cpu is not going up to 1.19ghz when the script is only set to 1190000 so I tried to make it higher and it solves the problem.
Does it work on all MSM8916-based devices ?
What is the point of going under 800MHz? CPU takes same voltage on 200MHz and 800MHz.

Awesome Multitasking ram management (only for root users)

I found this trick in S6 forums. Thanks to @mikeyinid
Paste:
Explanation: (From @mikeyinid )
Here is a quick rundown on how this came about, and what we actually know.
Since I purchased the S6 on release day, I've been messing with certain things, as you can see from the ROM I posted, Looper(shameless plug). Debloating Samsung apps really helped with battery life and I was pretty happy with the results. But like so many other people, I didn't understand why my S6 killed apps so aggressively. Initially I thought it might be the memory leak we all know so much about in 5.0. So, I did a little research and found the patch for that. While it did help keep the device stable over time, apps were still being killed with no prejudice. All this time I noticed really useless services running in the background, often stuff I'd never even opened. I studied LMK and started messing with those settings. After a month of trying everything I could find documented, I was ready to give up. Yesterday I was looking through the services.jar smali for the 37,875th time and realized the DHA referenced in there has to have something to do with memory management. I kept overlooking it because I hadn't seen mention of it anywhere else. I am no smali guru, as some of you know. But it was pretty obvious DHA was influencing memory management to some extent. Samsung, although leaving us in the dark on this, was kind enough to give us props to set the values for DHA. I pulled a few that seemed relevant, added them to my build.prop, and what do you know. For the first time in almost two months of tinkering, I saw an improvement in the way my device was managing memory.
The thing everyone needs to understand; I have no clue what DHA is. It overrides every aspect of Googles LMK and seems to do so in a way that makes more sense. I'm sure someone with more knowledge than myself will be able to tune this to the point the S6 will be the multi-tasking champ. There are several other props in the smali that are probably useful. I will try to get them all with their default values posted today. This has been pretty exciting for me, I spent way to much time trying to figure out the issue to not make some sort of progress. I hope you guys enjoy the tweaks, and I hope it helps sway those of you on the fence about keeping this device to stay. It's only gonna get better
Instructions:
First find your build.prop. This is located in /system. to get to /system you need to go to the root directory using a file explorer and then go to the system folder. The build.prop will be in there. You can also use and app such as build.prop tweaker but its a bit harder (imo)
In your build.prop scroll to the very bottom and paste this in:
(values in my build.prop Note 3 Neo, may be others values work better but for me are awesome)
ro.config.dha_cached_max=30
ro.config.dha_cached_min=14
ro.config.dha_empty_init=36
ro.config.dha_empty_max=12
ro.config.dha_empty_min=8
ro.config.dha_th_rate=1.0
ro.config.dha_lmk_scale=0.878
Delete duplicate lines if you find.
Other thing. With Kernel Adiutor in LMK section select "very agressive" and apply on reboot.
Finally reboot your device.
Enviado desde mi SM-N7505 usando Tapatalk 2
other values to compare how it works, only four lines to add to build.prop:
ro.config.dha_cached_max=15
ro.config.dha_empty_max=30
ro.config.dha_lmk_scale=0.600
ro.config.dha_th_rate=1.4
Note, activate too "very agressive" mode in LMK (Kernel Adiutor)
everything works without freezing, bootloop?

[ROM][Development] Started work on G530W CM 12.1 Custom ROM

EDIT: Please direct any development questions, queries, etc. to the new thread in the Development Forum, concerning all development-y things.
http://forum.xda-developers.com/grand-prime/development/unofficial-cyanogenmod-12-1-g530w-t3424761
============================================================
I've recently started working on a custom ROM for the Samsung Grand Prime G530W [gprimeltevl/gprimeltecan], and so far I have built a somewhat working ROM (without any radio/wireless capability or audio for now).
If there is interest in this project (which I think there is; the lack of any kind of love shown for the G530W is annoying), I'll continue hacking away at it until I (hopefully) have a working ROM.
I'm new to Android ROM building in general, and there have been several bumps along the way, so any help would be appreciated.
Thanks.
I will be uploading images daily to my Drive storage, in folders named by date (if the date today is not there, then the image had not been built or uploaded yet), and will be compressing the system.tar images with either gzip or xz to reduce the image size.
I will also be updating this area with issues and fixes as necessary.
What I have managed to get working so far (23/07/2016)
Limited mobile connectivity [ sending/receiving texts ].
- Calls can be received or made but there is no audio (speaker or microphone).
- Mobile data is not working.
- Currently the system does not show the mobile connection as active, but texts can still be sent and received.
Bluetooth is working
Audio is working (microphone, speaker)
Multimedia playback working
GPS is working
Wifi is working
Screen brightness controls working
Sensors are working (magnetic, rotation/gyro,proximity)
App installation is now working
Camera is kinda working - only back camera works, and the image is distorted.
Issues
Radio [ modem ] is not working properly
NFC is not working
MTP is not working
Cameras are not working
Here is a link to the system.tar, boot.tar and recovery.tar flashable by ODIN or fastboot (when unpacked).
https://drive.google.com/open?id=0B-bYwctD_MoDaWJGcUQ4eWtzRTQ
Project GitHub Repositories:
https://github.com/vince2678/android_device_samsung_gprimeltecan
https://github.com/vince2678/android_vendor_samsung_gprimeltecan
If there are any other issues I missed, let me know.
Great effort
vince2678 said:
I managed to compile and get an image working for the G530W.
What I have managed to get working so far
Bluetooth is working
Audio is working (microphone, speaker)
Multimedia playback working
GPS is working
Sensors are working (magnetic, rotation/gyro,proximity)
Issues
Device fails to unlock and heats up [only once, so far]
Wifi is not working
Radio [ modem ] is not working
User interface crashes periodically
Screen brightness controls not working
MTP is not working
Cameras are not working
Here is a link to the system.tar, boot.tar and recovery.tar flashable by ODIN or fastboot (when unpacked).
https://drive.google.com/folderview?id=0B-bYwctD_MoDVzd0eS1aaDV6RW8&usp=sharing
I'll be working at it to get at least the Wifi working, if there are any other issues I missed, let me know.
Click to expand...
Click to collapse
Good work so far!
I recently purchased a g530w and I would love to boot the stock ROM.
However, I am still busy researching and reading up on this device before I attempt to flash anything. Actually, I did create an update zip file to remove Skype and tried applying it while not rooted but it failed because it was not properly signed.
Anyway, I will watch your progress with keen interest!
Zippy Dufus said:
Good work so far!
I recently purchased a g530w and I would love to boot the stock ROM.
However, I am still busy researching and reading up on this device before I attempt to flash anything. Actually, I did create an update zip file to remove Skype and tried applying it while not rooted but it failed because it was not properly signed.
Anyway, I will watch your progress with keen interest!
Click to expand...
Click to collapse
Sounds interesting. Did you try rooting your phone and using Link2SSD to remove the app(s)? It works pretty well, and you don't have to go through the whole effort of packing and unpacking the ROM.
vince2678 said:
Sounds interesting. Did you try rooting your phone and using Link2SSD to remove the app(s)? It works pretty well, and you don't have to go through the whole effort of packing and unpacking the ROM.
Click to expand...
Click to collapse
Here's my plan for my new phone:
Reading and research (in progress)
Setting up Odin on a virtual machine (I am a Linux user) and testing a restore of the stock ROM. Do you have a good link to such a ROM? I briefly looked at http://www.sammobile.com/firmwares/ and this site looks a little sketchy to me.
Root the device. I believe the method described in this G530T thread has worked for our G530W.
Debloat the crapware. Surprisingly, there is not all that much on the device - mostly some Micro$oft crap, Skype, and an old, old version of Chrome which I cannot uninstall. As root, I'll just go in and delete the unwanted stuff from /system/app using a terminal emulator.
Once it get this far, I can probably live with stock Lollipop. Question, if you are learning how to port a ROM, have you considered starting with Marshmallow? I'm keen to move up.
Build the ROM myself and then attempt to build it with my Linaro toolchain which I built from scratch myself.
Questions, with what you know so far, will the G530H ROM in this thread work on our phone? Is this what you started from? What differences between the 2 devices what preclude it from working on ours - different hardware? software - i.e. different bootloader?, etc?
Zippy Dufus said:
Here's my plan for my new phone:
Reading and research (in progress)
Setting up Odin on a virtual machine (I am a Linux user) and testing a restore of the stock ROM. Do you have a good link to such a ROM? I briefly looked at http://www.sammobile.com/firmwares/ and this site looks a little sketchy to me.
Root the device. I believe the method described in this G530T thread has worked for our G530W.
Debloat the crapware. Surprisingly, there is not all that much on the device - mostly some Micro$oft crap, Skype, and an old, old version of Chrome which I cannot uninstall. As root, I'll just go in and delete the unwanted stuff from /system/app using a terminal emulator.
Once it get this far, I can probably live with stock Lollipop. Question, if you are learning how to port a ROM, have you considered starting with Marshmallow? I'm keen to move up.
Build the ROM myself and then attempt to build it with my Linaro toolchain which I built from scratch myself.
Questions, with what you know so far, will the G530H ROM in this thread work on our phone? Is this what you started from? What differences between the 2 devices what preclude it from working on ours - different hardware? software - i.e. different bootloader?, etc?
Click to expand...
Click to collapse
Hey Zippy,
That sounds like a good idea.
That website does seem kinda sketchy, and their downloads take millenia, but it's the only option available and their images actually work (just make sure to get the correct one).
Setting up a virtual machine is a good idea, because heimdall doesn't work with this device and I'm not keen on bricking my device trying to force it.
Rebooting between builds to test firmwares because of a lack of a good recovery was becoming a pain. (CyanogenMod Recovery is still missing critical features but it's better than stock).
You can use CF-Auto-Root to root the device (so simple) at:
https://download.chainfire.eu/774/C...uto-Root-gprimeltecan-gprimeltevl-smg530w.zip
Yup, debloating is good, i wanted to do so at first but I wanted to be done away with KNOX and have an su binary which worked flawlessly for good so I decided to start from scratch.
I've considered starting from M, but that will be a task for later. It is troublesome to start from a fimware above what your device is at when you're porting, because the vendor libraries and binaries you copy might not work in the newer version of Android because of linking errors.
You can copy the binaries fine but obscure errors due to missing references will pop up in the logs which will stop the modules from loading or binaries from running.
I'm having these issues with a build ID that is just a few apart from the one used on the stock ROM - LMY49J on the cm build versus LMY47X on the stock).
My Git repos are above - you can get yourself a cm12.1 source tree, pull my device_ and vendor_ trees, pull proprietary files using the scripts in the vendor tree, build from source and then flash the resultant images to your device.
The G530H ROM might, in theory flash without issue and actually boot, but whether it will be usable is another thing.
The thing that differs between the devices, as far as I'm aware, is mostly the baseband, some other device hardware (e.g the G530W has 1.5GB RAM instead of 1GB as most G530 devices), and the device bootloader. As such, the kernels and modules used might differ slightly in terms of modules compiled in, even though they're built from the same kernel source.
And yes, indeed, I started from a G530 device and vendor tree, though whether it was that one, or perhaps one for the G530FZ, I don't remember (though I think it's the G530FZ, it's the device closest to the G530W).
Finally something for this variant, I've been waiting for ages. Huge thumbs up dude, from a thankful Canadian. I don't use this phone as my daily driver so I'll be flashing this without delay. Mind if I trouble you for the order of operations? I've never used Odin to flash a custom ROM before.
Some more questions ...
Hi again @vince2678, I have more questions:
Do you have a local_manifest.xml that drives your build? ... I have a single-purpose Fedora24 virtual machine which I use to build android ROMs.
Does your build actually produce a CM12.1 zip installation package? ... And do you simply harvest the system.img, etc afterwards to put into a flashable this tar file?
What is the command line that do you use to create the flashable tar files? ... I'm just curious.
What version of the firmware does your device have? ... Mine has G530WVLU1AOFB. Apparently, this is the Tanzanian version! WTF? I purchased my phone from a Costco in Oakville, Ontario, Canada. It was purported to be unlocked for all Canadian carriers. My carrier is Virgin Mobile (owned by Bell) and it works fine. But, my understanding is that device actually locks to your SIM card upon first use so you can't use it for other SIM cards, but I haven't proven this yet. BTW, I got over half of the stock ROM DL'ed from SamMobile before it stopped due to a "network error". Yeah right! I'll try again later.
Have you (or are you) cherry-picking patches from the G530H CM12.1 ROM? ... android_device_samsung_fortuna3g I suggest DL'ing their key files and comparing them to yours. They appear to be in the final exhilarating phase of perfecting their ROM.
So you have totally removed the KNOX software without in deleterious consequences? ... I thought that I read in an XDA thread where somebody did this and then had issues such as connecting to WIFI, etc. It appeared that there may be a dependency in the BIOS.
Did you trip the KNOX e-fuse hence void the warranty? ... Not that I care about the warranty, I only worry about bricking the device.
Unlike @Pbotelho, this is my daily driver so I will be proceeding slowly and cautiously and look forward to his experience flashing it.
Pbotelho said:
Finally something for this variant, I've been waiting for ages. Huge thumbs up dude, from a thankful Canadian. I don't use this phone as my daily driver so I'll be flashing this without delay. Mind if I trouble you for the order of operations? I've never used Odin to flash a custom ROM before.
Click to expand...
Click to collapse
Hi Pbotelho, thanks man. You will have to enable Developer Mode on your phone and unlock the bootloader from the settings. I don't remember what exactly in the settings that option is, but it should be in the Debugging area for sure.
Once done, reboot into Download Mode [Press Power+Volume Down+Home].
Once you've done that, grab the boot.tar, system.tar.xz and recovery.tar from the links above. Extract the system.tar.xz with 7zip or `xz -d system.tar.xz` if under Linux to get a system.tar file, and flash the recovery, boot, and system, one after the other, in whatever order, by booting into download mode as soon as it is done flashing a file.
You will need to wipe your cache and data partitions, which can be done by rebooting into recovery [Power+Volume Up+Home].
The button options are built into the hardware so they can be used at any point after the phone is on.
When all that is done, you can report any problems here [or on the github page] and post logcats and I'll look at them if there's any issue I've missed.
Zippy Dufus said:
Hi again @vince2678, I have more questions:
Do you have a local_manifest.xml that drives your build? ... I have a single-purpose Fedora24 virtual machine which I use to build android ROMs.
Does your build actually produce a CM12.1 zip installation package? ... And do you simply harvest the system.img, etc afterwards to put into a flashable this tar file?
What is the command line that do you use to create the flashable tar files? ... I'm just curious.
What version of the firmware does your device have? ... Mine has G530WVLU1AOFB. Apparently, this is the Tanzanian version! WTF? I purchased my phone from a Costco in Oakville, Ontario, Canada. It was purported to be unlocked for all Canadian carriers. My carrier is Virgin Mobile (owned by Bell) and it works fine. But, my understanding is that device actually locks to your SIM card upon first use so you can't use it for other SIM cards, but I haven't proven this yet. BTW, I got over half of the stock ROM DL'ed from SamMobile before it stopped due to a "network error". Yeah right! I'll try again later.
Have you (or are you) cherry-picking patches from the G530H CM12.1 ROM? ... android_device_samsung_fortuna3g I suggest DL'ing their key files and comparing them to yours. They appear to be in the final exhilarating phase of perfecting their ROM.
So you have totally removed the KNOX software without in deleterious consequences? ... I thought that I read in an XDA thread where somebody did this and then had issues such as connecting to WIFI, etc. It appeared that there may be a dependency in the BIOS.
Did you trip the KNOX e-fuse hence void the warranty? ... Not that I care about the warranty, I only worry about bricking the device.
Unlike @Pbotelho, this is my daily driver so I will be proceeding slowly and cautiously and look forward to his experience flashing it.
Click to expand...
Click to collapse
Hi Zippy,
I do not have a local_manifest, if you want you can just manually pull the device and vendor trees into your build area, or you can make one yourself if you wish.
I will probably make one though, because the build has dependencies on some qcom sources.
I just use 'make -j8' to build everything, though you can use 'make otapackage' to build a flashable zip [You'll need the CMR recovery from here though, the images can't be flashed by stock recovery]
For creating flashable tar files, you can just use `tar`. You don't need to make .md5 verifiable archives, those are just to ensure a download wasn't corrupted [I provide md5sums for checking].
The system.img in the output directory will have to be renamed to 'system.img.ext4' and then archived, as so:
Code:
cd out/target/product/gprimeltecan
ln system.img system.img.ext4
tar cf system.tar system.img.ext4
tar cf boot.tar boot.img
tar cf recovery.tar recovery.img
Then you can move the files wherever and flash them with Odin.
Yes the gprimeltevl/gprimeltecan baseband is indeed G530WVLU1AOFB, though this should work with all G530WXXXXXXXs (not sure how many different ones are out there].
I'm not sure about the SIM locking thing, I cannot confirm this, someone might have to try to check.
I did consider sourcing from that repository, though ultimately i ended up using another one [I don't remember the name]. I might take a look at their source to see what I can do about mine though.
I did trip KNOX, though that was back when I was still trying to root my phone with CF-Root, so I'm not sure if flashing this will trip KNOX. And yes, KNOX is completely gone from this device, with no problems from the phone.
vince2678 said:
Hi Pbotelho, thanks man. You will have to enable Developer Mode on your phone and unlock the bootloader from the settings. I don't remember what exactly in the settings that option is, but it should be in the Debugging area for sure.
Once done, reboot into Download Mode [Press Power+Volume Down+Home].
Once you've done that, grab the boot.tar, system.tar.xz and recovery.tar from the links above. Extract the system.tar.xz with 7zip or `xz -d system.tar.xz` if under Linux to get a system.tar file, and flash the recovery, boot, and system, one after the other, in whatever order, by booting into download mode as soon as it is done flashing a file.
You will need to wipe your cache and data partitions, which can be done by rebooting into recovery [Power+Volume Up+Home].
The button options are built into the hardware so they can be used at any point after the phone is on.
When all that is done, you can report any problems here [or on the github page] and post logcats and I'll look at them if there's any issue I've missed.
Click to expand...
Click to collapse
I got impatient with it so I took a gamble and inferred with some background knowledge. Got it up and running several hours ago. Performance wise, it seems dead on perfect. There's no lag, no force closing of apps. Everything runs as snappy as it should. Its fast as f***. Now I even installed xposed framework and added in a few modules, one of those being the Android N-ify project, and it works really well with it, so kudos on this area. I'll be sure to uninstall xposed when it comes to error reporting and logcats.
The only issues I'm seeing besides the ones you've already outlined are graphical in nature. I'm not home at the moment but I'll upload some logcats when I get the chance.
1) What I'm seeing is a blackout out lock screen. I have a theme installed and used it to apply a custom lock wallpaper to test this out. The wallpaper only shows once you've accessed the Pattern input by swiping up. Haven't tried it with a pin. If you're only using swipe, it'll stay black until unlocked.
2) When unlocked and swiping down to access the notifications panel and quick settings, the same blackout effect is present. This is present only while you're looking at your notifications or tiles, and returns to normal when swiped back up.
3) The first half of this part is only noticed when using the material glass theme. When swiping down to access the notification panel without notifications, the "no notifications" text will be present as it should be, however, when swiped down again to access the quicksettings tiles, the "no notifications" text isn't cleared away. It sits behind the brightness slider. This isn't noticeable on the stock theme because its opaque, while material glass features transparency as their main selling card. If using the battery saver, the text from this persistent notification will appear instead.
Edit: Upon further analysis, it seems that the notification content is linked to the bottom of the header instead of the bottom of the quicksettings tiles, and that's why it works this way. When expanding or shrinking the header, the notification also moves directly with it.
Second half: whether on the stock theme or not, the "no notifications" text will continue to stick and be viewable on the lockscreen, retaining its position that is viewed in the notification panel. It sits directly above the clock. The persistent battery saver notification works the same way. I'm no expert, but I believe that since the notification panel and lockscreen both go to black, that this might be linked in some way.
4) Sometimes when using the stock theme and toggling options in the quick settings tiles, it'll glitch out and turn into what I can only describe as a zombie menu. The pixels of the status bar are replaced by that proportionate area of the quick settings menu, and when swiping down to use the menu, access is disabled (it can't be touched) and it closes itself when attempted. Only way I've been able to fix it was to toggle the theme to material glass and all was restored, still subject to the above three points.
Edit: 5) when using kernel adiutor to try to adjust the CPU frequencies, the only option that comes up for both minimum and maximum is 0MHz. The button seems to work as well, bringing the clock max speed down to 0 for a split second before it reverts to a a maximum of 200MHz. Adjusting the governor after the fact won't restore the maximum, seems only a reboot will get it done. I'm slightly amazed to be honest as before on Touchwiz, it was impossible to get it to hold onto a lower maximum. It would jump all over the place as it pleased.
Edit: 6) The recents hardware button is disabled. Touching it, holding it, nor double tapping brings up a function. It also isn't present in settings when trying to map the button functions. Its the only one that's missing. Power, home, back, and volume are all there.
That's all I got for the moment, I tried to be as descriptive as possible as I won't be able to get the logcats up for awhile. Let me know if you have any questions about what I've said here.
And also, are you taking feature requests?
Pbotelho said:
I got impatient with it so I took a gamble and inferred with some background knowledge. Got it up and running several hours ago. Performance wise, it seems dead on perfect. There's no lag, no force closing of apps. Everything runs as snappy as it should. Its fast as f***. Now I even installed xposed framework and added in a few modules, one of those being the Android N-ify project, and it works really well with it, so kudos on this area. I'll be sure to uninstall xposed when it comes to error reporting and logcats.
The only issues I'm seeing besides the ones you've already outlined are graphical in nature. I'm not home at the moment but I'll upload some logcats when I get the chance.
1) What I'm seeing is a blackout out lock screen. I have a theme installed and used it to apply a custom lock wallpaper to test this out. The wallpaper only shows once you've accessed the Pattern input by swiping up. Haven't tried it with a pin. If you're only using swipe, it'll stay black until unlocked.
2) When unlocked and swiping down to access the notifications panel and quick settings, the same blackout effect is present. This is present only while you're looking at your notifications or tiles, and returns to normal when swiped back up.
3) The first half of this part is only noticed when using the material glass theme. When swiping down to access the notification panel without notifications, the "no notifications" text will be present as it should be, however, when swiped down again to access the quicksettings tiles, the "no notifications" text isn't cleared away. It sits behind the brightness slider. This isn't noticeable on the stock theme because its opaque, while material glass features transparency as their main selling card. If using the battery saver, the text from this persistent notification will appear instead.
Click to expand...
Click to collapse
Hi Pbotelho,
I'll try to answer everything as completely as I can.
The blackout lock screen thing seems to be an issue with Trebuchet. I found that using a different lock screen app solves this issue.
As for the blackout on the notification area, I'm not sure what exactly is causing this, though I think this may be a problem with the cm-12.1 source and not necessarily the device port itself.
Second half: whether on the stock theme or not, the "no notifications" text will continue to stick and be viewable on the lockscreen, retaining its position that is viewed in the notification panel. It sits directly above the clock. The persistent battery saver notification works the same way. I'm no expert, but I believe that since the notification panel and lockscreen both go to black, that this might be linked in some way.
Click to expand...
Click to collapse
This seems to be an issue with Trebuchet again, and using a different lock application fixes this.
Sometimes when using the stock theme and toggling options in the quick settings tiles, it'll glitch out and turn into what I can only describe as a zombie menu. The pixels of the status bar are replaced by that proportionate area of the quick settings menu, and when swiping down to use the menu, access is disabled (it can't be touched) and it closes itself when attempted. Only way I've been able to fix it was to toggle the theme to material glass and all was restored, still subject to the above three points.
Click to expand...
Click to collapse
I'm aware of this one, for now you can fix this by disabling Brightness Control in the settings ( Settings->Status Bar->Brightness Control).
This again might be an issue with the cm-12.1 source, though it'll need some checking to confirm.
Edit: when using kernel adiutor to try to adjust the CPU frequencies, the only option that comes up for both minimum and maximum is 0MHz. The button seems to work as well, bringing the clock max speed down to 0 for a split second before it reverts to a a maximum of 200MHz. Adjusting the governor after the fact won't restore the maximum, seems only a reboot will get it done. I'm slightly amazed to be honest as before on Touchwiz, it was impossible to get it to hold onto a lower maximum. It would jump all over the place as it pleased.
Click to expand...
Click to collapse
I'm using Kernel Adiutor and frequency setting is fine. Did you try using a tunable governor like interactive? That may be the issue.
Edit: 6) The recents hardware button is disabled. Touching it, holding it, nor double tapping brings up a function. It also isn't present in settings when trying to map the button functions. Its the only one that's missing. Power, home, back, and volume are all there.
Click to expand...
Click to collapse
I'm aware of this, you can blame this on my bad arithmetic skills . I had set the wrong bit field mask for the button settings in the device frameworks.
I'll be pushing a fix addressing this shortly.
And also, are you taking feature requests?
Click to expand...
Click to collapse
That depends on what the features are, if they're reasonable and within my capabilities, then yeah .
PS: I would appreciate any help I can get, and if you have any coding skills and time to compile builds, you can help me polish up the device port.
Thanks!
vince2678 said:
Hi Pbotelho,
I'll try to answer everything as completely as I can.
The blackout lock screen thing seems to be an issue with Trebuchet. I found that using a different lock screen app solves this issue.
As for the blackout on the notification area, I'm not sure what exactly is causing this, though I think this may be a problem with the cm-12.1 source and not necessarily the device port itself.
This seems to be an issue with Trebuchet again, and using a different lock application fixes this.
I'm aware of this one, for now you can fix this by disabling Brightness Control in the settings ( Settings->Status Bar->Brightness Control).
This again might be an issue with the cm-12.1 source, though it'll need some checking to confirm.
I'm using Kernel Adiutor and frequency setting is fine. Did you try using a tunable governor like interactive? That may be the issue.
I'm aware of this, you can blame this on my bad arithmetic skills . I had set the wrong bit field mask for the button settings in the device frameworks.
I'll be pushing a fix addressing this shortly.
That depends on what the features are, if they're reasonable and within my capabilities, then yeah .
PS: I would appreciate any help I can get, and if you have any coding skills and time to compile builds, you can help me polish up the device port.
Thanks!
Click to expand...
Click to collapse
1) Aww man I love using Trebuchet, I like to keep my install as small as possible so I'm not one for installing additional apps. I'm a resource junkie though, so its just a matter of personal preference.
2) Again, I'm not an expert, but I suspect it might be the device port. Previously, I've had an unofficial version of CM12.1 installed on a Galaxy Tab 3 as well as a CM12.1 based Pac-rom installed on a Galaxy S4. I'm not sure if this is something those developers corrected on their own or not when building their ROMs, so it could be the source. That's the best of my knowledge on the topic.
3) Will do for the brightness slider, but again, it isn't something I experienced on the other devices with CM12.1 and the sister project.
4) Yeah I played around with the governors and tried all of them. They all list 0MHz as the only option. Maybe its a CPU hotplug issue? I didn't try playing around with those so I'll have to get back to you on that one.
5) Look forward to the update I have a question regarding it though. I'm really familiar with updating custom ROMs through recovery using the zip file format, but this is the first time I'm using Odin to do the job. Will flashing an update with Odin this way cause a factory reset? Or will it update as expected?
6) A couple more graphical hiccups I remembered. The blackout also happens when going to About Phone>Status. In About Phone, the device field says unknown (doesn't bother me, I just don't know if its significant or not), the illumination for the hardware buttons isn't working (I usually keep them off to save battery anyways, but someone out there probably uses it). And finally, when switching recents by holding the home button, only the title bars of the individual apps are viewable. The content of the windows themselves is completely transparent so it looks like a series of floating title bars.
(Apologies if some of these features are already included, I didn't get the opportunity to check, I just think they're awesome)
Feature requests:
1) When phone is off and charging, percentage is displayed inside battery symbol.
2) CPU and GPU undervolting built into the kernel. These custom ROMs are much better than the stock ROM in terms of functionality, but the battery life on the stock Samsung experience is no joke.
3) If possible, more steps for CPU frequency adjustments, every 100MHz or so. I remember the stock ROM had limited options. My S4 is the example I'm going to use here, it has a step for every 108MHz.
4) USB fast charging, aka setting USB to "charge only".
5) Wakelock Blocker. Its built into the latest Resurrection Remix for the S4, not sure if that could be of viable use to you. It'll certainly help out with battery improvements.
6) Boot Manager. Decide which apps get to start at boot. Its built into Marshmallow and an xposed module also exists for this purpose, so really low priority on this one, for me at least.
7) This one is a doozy. Absolutely the one I care most about, but most likely asking for too much. USB tethering. Already exists, I know, but not the way I hope it to. I have an old WRT54G router with DD-WRT installed. My goal is basically this: Phone's network connection>USB Tether>Micro-USB-LAN adapter>WAN port of router. In this sense, the phone would be acting as the modem in a regular home network. I know its possible to do this if the router has a USB port, but mine doesn't, and I also know its possible if you have an intermediate device that bridges the connections for you. Like a laptop, PC, or raspberry pi. Cost efficiency as a student is what I'm working towards though, so this one is a wishlist request.
Ps. The only coding skills I have are from high school's Visual Basic and HTML, truly beginner stuff, and that was about 10 years ago. I'm running Ubuntu on a core i5-2500k with 16GB of RAM and about a terabyte of space though, so compiling is definitely a possibility with some instructions.
Pbotelho said:
5) Look forward to the update I have a question regarding it though. I'm really familiar with updating custom ROMs through recovery using the zip file format, but this is the first time I'm using Odin to do the job. Will flashing an update with Odin this way cause a factory reset? Or will it update as expected?
Click to expand...
Click to collapse
Nope, this should be pretty much the same as flashing a zip from recovery. If you modified the system partition though (like by flashing GApps for example) your changes will be lost.
Pbotelho said:
6) A couple more graphical hiccups I remembered. The blackout also happens when going to About Phone>Status. In About Phone, the device field says unknown (doesn't bother me, I just don't know if its significant or not), the illumination for the hardware buttons isn't working (I usually keep them off to save battery anyways, but someone out there probably uses it). And finally, when switching recents by holding the home button, only the title bars of the individual apps are viewable. The content of the windows themselves is completely transparent so it looks like a series of floating title bars.
Click to expand...
Click to collapse
I fixed this in the device tree, once I've built a new image this should be corrected.
Pbotelho said:
(Apologies if some of these features are already included, I didn't get the opportunity to check, I just think they're awesome)
Feature requests:
1) When phone is off and charging, percentage is displayed inside battery symbol.
Click to expand...
Click to collapse
I'll be looking into this one.
Pbotelho said:
2) CPU and GPU undervolting built into the kernel. These custom ROMs are much better than the stock ROM in terms of functionality, but the battery life on the stock Samsung experience is no joke.
Click to expand...
Click to collapse
I'm still using the stock kernel in my builds, once the builds are stable I'll start compiling the kernel from source and I'll see if I can do something about this.
Pbotelho said:
3) If possible, more steps for CPU frequency adjustments, every 100MHz or so. I remember the stock ROM had limited options. My S4 is the example I'm going to use here, it has a step for every 108MHz.
Click to expand...
Click to collapse
According to the configurations, this is already how it is.
PS: I changed the governor under Kernel Adiutor to performance from interactive and switched back, and became unable to change the frequencies (like you were experiencing). I'll need to play around more with this to see why.
Pbotelho said:
4) USB fast charging, aka setting USB to "charge only".
Click to expand...
Click to collapse
This is already available under the Settings->Storage->USB Computer Connection menu
Pbotelho said:
5) Wakelock Blocker. Its built into the latest Resurrection Remix for the S4, not sure if that could be of viable use to you. It'll certainly help out with battery improvements.
6) Boot Manager. Decide which apps get to start at boot. Its built into Marshmallow and an xposed module also exists for this purpose, so really low priority on this one, for me at least.
Click to expand...
Click to collapse
Not sure I could do this, I'll check.
Pbotelho said:
7) This one is a doozy. Absolutely the one I care most about, but most likely asking for too much. USB tethering. Already exists, I know, but not the way I hope it to. I have an old WRT54G router with DD-WRT installed. My goal is basically this: Phone's network connection>USB Tether>Micro-USB-LAN adapter>WAN port of router. In this sense, the phone would be acting as the modem in a regular home network. I know its possible to do this if the router has a USB port, but mine doesn't, and I also know its possible if you have an intermediate device that bridges the connections for you. Like a laptop, PC, or raspberry pi. Cost efficiency as a student is what I'm working towards though, so this one is a wishlist request.
Click to expand...
Click to collapse
I don't quite understand what you mean by this, how does it differ from the normal USB tethering?
Pbotelho said:
Ps. The only coding skills I have are from high school's Visual Basic and HTML, truly beginner stuff, and that was about 10 years ago. I'm running Ubuntu on a core i5-2500k with 16GB of RAM and about a terabyte of space though, so compiling is definitely a possibility with some instructions.
Click to expand...
Click to collapse
If you can't code, that's fine, you could set up a build environment on your computer for creating images from the source.
vince2678 said:
Nope, this should be pretty much the same as flashing a zip from recovery. If you modified the system partition though (like by flashing GApps for example) your changes will be lost.
I fixed this in the device tree, once I've built a new image this should be corrected.
I'll be looking into this one.
I'm still using the stock kernel in my builds, once the builds are stable I'll start compiling the kernel from source and I'll see if I can do something about this.
According to the configurations, this is already how it is.
PS: I changed the governor under Kernel Adiutor to performance from interactive and switched back, and became unable to change the frequencies (like you were experiencing). I'll need to play around more with this to see why.
This is already available under the Settings->Storage->USB Computer Connection menu
Not sure I could do this, I'll check.
I don't quite understand what you mean by this, how does it differ from the normal USB tethering?
If you can't code, that's fine, you could set up a build environment on your computer for creating images from the source.
Click to expand...
Click to collapse
Sounds awesome, I'll flash it as soon as possible and continue testing it for you.
I uploaded a logcat to the other thread in development. The performance governor is set up as the default for me so I'm set up with that situation from the get go.
It technically isn't different from regular USB tethering, but it seems that no one has done it successfully before. There are adapters that you can use to provide a wired Ethernet connection to an android device over micro USB, but no one has been able to do it the other way around. Google results don't turn up any answers.
And I'm willing to learn how to code, but I fear that I may slow you down with this project as I get past the learning curve. That being said, I can definitely set up a build environment and compile it from source for you. That'll be a learning experience on its own. Just point me towards a noob guide and I'll get it done.
Pbotelho said:
Sounds awesome, I'll flash it as soon as possible and continue testing it for you.
I uploaded a logcat to the other thread in development. The performance governor is set up as the default for me so I'm set up with that situation from the get go.
It technically isn't different from regular USB tethering, but it seems that no one has done it successfully before. There are adapters that you can use to provide a wired Ethernet connection to an android device over micro USB, but no one has been able to do it the other way around. Google results don't turn up any answers.
And I'm willing to learn how to code, but I fear that I may slow you down with this project as I get past the learning curve. That being said, I can definitely set up a build environment and compile it from source for you. That'll be a learning experience on its own. Just point me towards a noob guide and I'll get it done.
Click to expand...
Click to collapse
The USB tethering thing sounds interesting, though I would need to have one of the adapters to test that, and time at hand as well.
As for the build environment, the best source of information is the CM wiki. You can look at these links below on how to get started:
https://wiki.cyanogenmod.org/w/Development#Learning_To_Build_CM
https://wiki.cyanogenmod.org/w/Doc:_Building_Basics
https://docs.omnirom.org/Setting_Up_A_Compile_Environment
https://wiki.cyanogenmod.org/w/Build_for_captivatemtd
http://jira.omnirom.org/browse/OMNI-1263
http://forum.xda-developers.com/showthread.php?t=2329228​
The guides above are just outlines to detail the general build process - you will need to do things slightly differently from the steps above to get the proper source and device trees.
The attached local_manifest can be used with repo when obtaining the cm-12.1 source.
Remember you'll be getting the cm-12.1 source - not anything else.
vince2678 said:
The attached local_manifest can be used with repo when obtaining the cm-12.1 source.
Remember you'll be getting the cm-12.1 source - not anything else.
Click to expand...
Click to collapse
So if I add in your device tree and provide a toolchain, I should be good to go? (I think so.)
Thanks!!
EDIT: Not so fast! I'll have to find a kernel as well.
Pbotelho said:
Edit: 5) when using kernel adiutor to try to adjust the CPU frequencies, the only option that comes up for both minimum and maximum is 0MHz. The button seems to work as well, bringing the clock max speed down to 0 for a split second before it reverts to a a maximum of 200MHz. Adjusting the governor after the fact won't restore the maximum, seems only a reboot will get it done. I'm slightly amazed to be honest as before on Touchwiz, it was impossible to get it to hold onto a lower maximum. It would jump all over the place as it pleased.
Click to expand...
Click to collapse
I've test Kernel Adiutor and I too got the O MHz only window for both as the only option. Though Now I wonder if it is because I used the latest beta Kernel Adiutor, I'll further check with the normal stable version. Pretty sure it'll fix it if it worked normally for Vinc. --- Update; As strange as it might look while re opening kernel adi to take a screenshot, the list of normal MHz values is there and working properly.. Strange.. Magic? Huh technology, you're so unpredictable.
Zippy Dufus said:
So if I add in your device tree and provide a toolchain, I should be good to go? (I think so.)
Thanks!!
EDIT: Not so fast! I'll have to find a kernel as well.
Click to expand...
Click to collapse
Hi Zippy,
The kernel source was included there as well (it's just a dummy source so that the build can get the necessary source files for libraries which need them). The build still uses the default prebuilt kernel though.
vince2678 said:
Hi Zippy,
The kernel source was included there as well (it's just a dummy source so that the build can get the necessary source files for libraries which need them). The build still uses the default prebuilt kernel though.
Click to expand...
Click to collapse
As an experiment, why don't you try downloading the G530H ROM, unzip, take the boot.img, and flash it over top of your stock kernel? See if it boots and how it performs.
Meanwhile, I plan to hack at putting together complete manifest, possibly with the G530H kernel and my Linaro 4.9 toolchain and see if I can build a complete ROM.
Have you extracted the firmware?
However, I don't want to flash anything until I see your ROM's modem working because it is my daily driver. But I'm keen though!!
I've managed to download the stock ROM from SamMobile but I'm now thinking of going straight to your ROM once it is a bit more complete and stable.

Changing LMK minfree values has no effect

I have a dual boot Android 5.1/Win 10 tablet (the Onda oBook10) that I recently managed to acquire root on (for any owners of this device that would like to know how, I'll be posting a guide soon). This thing has 4 gigs of RAM, but starts kicking apps out as soon as 1 GB is occupied. I've tried setting minfree using both Kernel Adiutor and by echoing manually to /sys/module/lowmemorykiller/parameters/minfree, but neither has any effect. I know that this change doesn't persist across reboots on any Android, but in this case, it has no effect even on the current session. What's even stranger, going by the default values that have been set, there shouldn't be any issues at all - it's actually less aggressive than most other devices I've seen. The values are:
Code:
13107,16384,19660,22937,26214,32768
According to Kernel Adiutor, that translates to (in MB):
Code:
51,64,76,89,102,128
Yet, running apps shows 2.8 to 3.1 GB free constantly, even though apps are reloading.
Does anyone know what might be causing this? It's an x86 device, in case that's relevant. I have access to the boot image (in case it's some kind of kernel flag), and can unpack to ramdisk and zImage, but I have no experience with kernels, and have no idea where to even begin looking; if someone could point me in the right direction, that would be awesome.
Thanks,
SirVer

What Android version do you recommend for me?

After looking at the Index thread, it seems as if Lollipop 5.1 is the latest version of Android that is safe for an HP Touchpad. Am I understanding this correctly?
Also, if I install that one, does it wipe out WebOS? I guess it doesn't matter if so because from what I'm reading, it's completely outdated and no longer supported. Also, I'm locked out and cannot remember the passcode anyway.
No version of Android is supported on the TouchPad, therefore there isn't a 'safe' version. You'd have most success updating to current (7.1.2+) firmwares. As a TouchPad modder, these versions are the fastest and most supported by Play Store. The initial process of installing 'moboot' for the first time can be daunting, so look into using which ever version of Android is used in jcullins' Toolbox tutorial. Once moboot and TWRP are installed, you can pretty much try whichever rom you want, as this device is near impossible to brick.
Good luck!
mrlaugh01 said:
No version of Android is supported on the TouchPad, therefore there isn't a 'safe' version. You'd have most success updating to current (7.1.2+) firmwares. As a TouchPad modder, these versions are the fastest and most supported by Play Store. The initial process of installing 'moboot' for the first time can be daunting, so look into using which ever version of Android is used in jcullins' Toolbox tutorial. Once moboot and TWRP are installed, you can pretty much try whichever rom you want, as this device is near impossible to brick.
Good luck!
Click to expand...
Click to collapse
Can you please link me to a/the tutorial for the version you suggested?
ashleyquicik said:
Can you please link me to a/the tutorial for the version you suggested?
Click to expand...
Click to collapse
Try the below link which points to the updated guide on how to install Android on the HP Touchpad.
If you are a newbie on this stuff, you would be a good test on how well this guide is written and if it needs any tweaks to help people follow it with accuracy.
I mean I tested it myself, but I am a "seasoned veteran" LOL, I installed KitKat from this guide and also Nougat the version that was recommend to you. Its all there.
https://forum.xda-developers.com/hp...-guide-alternative-method-to-install-t3575861
DoubleStuff said:
Try the below link which points to the updated guide on how to install Android on the HP Touchpad.
If you are a newbie on this stuff, you would be a good test on how well this guide is written and if it needs any tweaks to help people follow it with accuracy.
I mean I tested it myself, but I am a "seasoned veteran" LOL, I installed KitKat from this guide and also Nougat the version that was recommend to you. Its all there.
https://forum.xda-developers.com/hp...-guide-alternative-method-to-install-t3575861
Click to expand...
Click to collapse
1) So I got it to install (Evervolv Nougat) and my feedback on the tutorial is that it's a bit of information overload. Not sure how easy it would be to simply it though.
2) I could not find a link for Boost (what is that?) or the Keyboard fix. Can you assist (assuming they can be installed retroactively)? The keyboard, for instance, works in Chrome but does not appear on the home screen when tapping the Google Search Bar.
3) And maybe this should be #1...but this Nougat seems to slow things down considerably. I tried installing the game Run Race 3D for instance and it was unplayable. Would an older Android version speed things up or am I just dealing with old hardware that can't keep up?
ashleyquicik said:
1) So I got it to install (Evervolv Nougat) and my feedback on the tutorial is that it's a bit of information overload. Not sure how easy it would be to simply it though.
2) I could not find a link for Boost (what is that?) or the Keyboard fix. Can you assist (assuming they can be installed retroactively)? The keyboard, for instance, works in Chrome but does not appear on the home screen when tapping the Google Search Bar.
3) And maybe this should be #1...but this Nougat seems to slow things down considerably. I tried installing the game Run Race 3D for instance and it was unplayable. Would an older Android version speed things up or am I just dealing with old hardware that can't keep up?
Click to expand...
Click to collapse
Hello AshleyQ,
Well along with the step by step, I added a bit of instruction. For example you said, "I could not find a link for Boost (what is that?) or the Keyboard fix." So I will add a little more "overload" of instruction for what Boost Optimized settings are, in my OP at a later date.
But as per your performance. The reason its slow is because you did not load the following ZIP's in the exact sequence the instructions say. I realize its because you could not find the links for boost and keyboard. If you go to HP_TOUCHPAD's "Master List of ZIPs" in the OP of the guide, or I put it below for convenience, you will see the green list below for Nougat 7.1.2, and find the links you were missing earlier.
https://forum.xda-developers.com/hp-touchpad/general/hp-touchpad-optimize-android-swap-t3901773
and once you click link, hit "page down" 3 times and it will get you to the "Master List of Zips"
Evervolv 7.1.2 Android Nougat
1.Click Here to Download the ROM
2.Click Here to Download the Boost Optimized settings with preset CPU Frequency
3.Click here to download Google Open Apps
Select Platform ARM, Android 7.1 and the Variant you want, Pico is recommended
4.Click Here to Download the Keyboard Fix
As per the Boost Settings always start with 1728, and after that is working good, you can try to flash a higher frequency for speed, and you don't have to re-flash everything just the Boost Zip ( like 1782, or 1836 ) file from TWRP recovery. If it freezes screen just go back and flash lower frequency.
So click each link in the OP, and download the said 4 ZIP files, and follow the Original Post again, with these 4 ZIP's ready to go!!! Do not do this retroactively, but start again from scratch.
And you will be able to play the "Run Race 3D" game!!
Look at this link below, a non-gamer like user HP_TOUCHPAD from Florida, played the game Hearthstone!!! I believe you will be able to play "Run Race 3D", but we would love to hear how your results go, and we will be here to help you get a smooth running touchpad that is 100% Android, with SWAP!!!
https://forum.xda-developers.com/hp-touchpad/general/how-to-play-hearthstone-blizzard-t3924170
@HP_TOUCHPAD
Using these downloads from your Master List of Zips, and running my install method.
AshleyQ the OP'er wants to play Run Race 3D game. Now I am not a gamer at all, but you tried with Hearthstone so I will try now, when I download Run Race 3D game I get the attached errors. But I can run YouTube fine, everything seems fine until I run that game ( Run Race 3D ). What are these errors telling you? I waited till SWAP was over 400 Mb, and I used various boost files, first 1782, 1836 and 1728, but with no luck.
I should point out that I had about 10 minutes where I was running the game with smoothness and doing the jumps and winning the races, but then HP Touchpad started to get sluggish with little mini freezes and it threw my timing of the jumps off and I started to lose, then the error came.
Evervolv 7.1.2 Android Nougat
1.Click Here to Download the ROM
2.Click Here to Download the Boost Optimized settings with preset CPU Frequency
3.Click here to download Google Open Apps
Select Platform ARM, Android 7.1 and the Variant you want, Pico is recommended
4.Click Here to Download the Keyboard Fix
p.s. the 2nd pic is kind of hard to read, I just wanted to show that I ran "running services" and it shows 558 MB of SWAP.
DoubleStuff said:
@HP_TOUCHPAD
Using these downloads from your Master List of Zips, and running my install method.
AshleyQ the OP'er wants to play Run Race 3D game. Now I am not a gamer at all, but you tried with Hearthstone so I will try now, when I download Run Race 3D game I get the attached errors. But I can run YouTube fine, everything seems fine until I run that game ( Run Race 3D ). What are these errors telling you? I waited till SWAP was over 400 Mb, and I used various boost files, first 1782, 1836 and 1728, but with no luck.
In the Developers options --.>> Running Services shows Device Memory been use but does not show the swap.
The FREE in gray color shows the available free RAM, but is not the size of the swap file, for example the system can report 485 MB Free RAM and only use 60 MB of swap.
The best way to see how much swap is been use is by connecting the Tablet to PC using usb, open a terminal window and using adb shell then type
free -h
I should point out that I had about 10 minutes where I was running the game with smoothness and doing the jumps and winning the races, but then HP Touchpad started to get sluggish with little mini freezes and it threw my timing of the jumps off and I started to lose, then the error came.
Keep in mind that the free version of this game have Ads, that is a service that is running in the background and when is time to display the ads is another process getting activated. Android is constantly launching background process it does not seem to care if the device is been use, it will take priority.
Evervolv 7.1.2 Android Nougat
1.Click Here to Download the ROM
2.Click Here to Download the Boost Optimized settings with preset CPU Frequency
3.Click here to download Google Open Apps
Select Platform ARM, Android 7.1 and the Variant you want, Pico is recommended
4.Click Here to Download the Keyboard Fix
p.s. the 2nd pic is kind of hard to read, I just wanted to show that I ran "running services" and it shows 558 MB of SWAP.
Click to expand...
Click to collapse
The reason that I mentioned to wait until it shows 400 MB of free RAM (is not swap) is that Android finishes launching all process and the system is finally "IDLE", it takes that long for Android to finally settle and the Tablet ready to be use..
I just installed the Game, it only took about 73 MB of swap space, but I am testing on DU 9 using completely different settings. I am not a gamer, but it looks very simple, graphics are minimal, it does shows a lot of ads and even launching the Play store to install more games. The issues that I am having is that there is no minimal specification for any App, it only shows the Android version and it will depend on the Device. It will help if an App shows the minimal RAM requirement to run, then the settings can be apply to provide that amount, but is all about guessing. I am not done testing my next settings, I will use this game as a tester.
I applied some settings and tried the game and I won! is very easy to play on the Tablet with a bigger screen but it could be a real challenge on smartphone.
Attached is the screenshot of my victory.
Is work in progress, but the game should play with no issues once I finish the settings.
So what do you guys recommend that I do? I just used Run Race 3d as an example of the sluggishness and really just want an Android version and setup that will give me the best overall (meaning fastest) performance...with games/browsing/etc.
HP_TOUCHPAD said:
I applied some settings and tried the game and I won! is very easy to play on the Tablet with a bigger screen but it could be a real challenge on smartphone.
Attached is the screenshot of my victory.
Is work in progress, but the game should play with no issues once I finish the settings.
Click to expand...
Click to collapse
Congratulations on the RR3D win! I won a few times myself and the man did a little dance on the screen, but then my HPTP got sluggish and I kept crashing into the walls because when I pressed the screen the man would not jump like I told it too. In fact my setup got to the point I could not even take a screenshot it was too sluggish.
But if @ashleyquicik is reading this, please be patient it seems like HP_TOUCHPAD is working on some Universal performance settings that will work for all ROMs, past present and future. In the meantime you could load JC Sullins KitKat 4.4 ROM you will find that link in the 2nd Master List of zips ( RolandD's ) on below install method. I find for YouTube and Podcast apps this current version of Nougat is fine, but once I start playing "Run Race 3D" it gets sluggish. Be sure to follow directions in flashing the ZIP's in order.
HP_TOUCHPAD is now using the Run Race 3D game as a testing app, so you can be sure sooner or later this game will be working, not to win at the game, but to win and beat the sluggishness!!
This is the classic case of MAN vs. MACHINE!!!
https://forum.xda-developers.com/hp...-guide-alternative-method-to-install-t3575861
DoubleStuff said:
Congratulations on the RR3D win! I won a few times myself and the man did a little dance on the screen, but then my HPTP got sluggish and I kept crashing into the walls because when I pressed the screen the man would not jump like I told it too. In fact my setup got to the point I could not even take a screenshot it was too sluggish.
After the first stage of the game was over and I selected to play again, then what seems to be an Advertisement came up, but it was only a black screen, then the image show trying to trick me on touching to install another game, there was no way of getting out of it, then the Play store got launch by itself and then I had to close both. There is a difference when you the user open many apps and place them on the background and when two apps are running at same time, is too much to ask for a 1GB RAM device.
But if @ashleyquicik is reading this, please be patient it seems like HP_TOUCHPAD is working on some Universal performance settings that will work for all ROMs, past present and future. In the meantime you could load JC Sullins KitKat 4.4 ROM you will find that link in the 2nd Master List of zips ( RolandD's ) on below install method. I find for YouTube and Podcast apps this current version of Nougat is fine, but once I start playing "Run Race 3D" it gets sluggish. Be sure to follow directions in flashing the ZIP's in order.
I will provide the settings but I do not want to send the wrong signal as it will allow for any apps, specially games to play. Android's apps are extremely buggy even on the stock devices, just search for an issue and you will find how many users are experiencing the problem and none are related to the HP TP, just regular devices.
HP_TOUCHPAD is now using the Run Race 3D game as a testing app, so you can be sure sooner or later this game will be working, not to win at the game, but to win and beat the sluggishness!!
As you have tested yourself the game will play, you won. It is a very basic game with low graphics., but it provides HUGE Ads and also any other apps that you have installed on the Tablet will impact performance. The sluggishness comes as background services that becomes active, that is why as soon as you connect the Tablet to WiFi, it will slow down, just check Running Services and you see them all, opening and closing plus the google apps updates, it will happen even if the CPU is at full capacity and low ram available, is the way Android works.
This is the classic case of MAN vs. MACHINE!!!
I will call it MAN vs Google!
Here is the explanation for that, I will try to keep it short.
https://forum.xda-developers.com/hp...-guide-alternative-method-to-install-t3575861
Click to expand...
Click to collapse
Android Apps are written in Java, Google does not want to pay license feeds as is offering the OS for free and making revenue on the data it collect from the devices for Ads placement, each device is a Digital Billboard that Google charge for displaying time to companies promoting their services or products.
If you have experience running a Virtual Machine on the Desktop, then it should be easy to understand the concept. Android apps are running inside an open source virtual machine " Dalvik" to run the java code and be display on the screen. To virtualize an OS on the desktop if the PC has 6 GB of RAM, and the guess OS requires a minimum of 4 GB to run, then it must be configure and there will only be 2GB left on the Host OS. Then the speed will degrade for low RAM resources and the HOST can not be use for nothing else. Once the Guess OS has done its job, it can be close down and the Host OS will function normally. But if the correct amount of RAM is not allocated to the Guess it will not boot, or shutdown. That is the same that happen in HP TP with Android, and those settings are apply manually in the build.prop by the manufacture. Everything in Android must be configure manually as the OS is too basic and primitive all settings are device specific according to screen resolution, size and amount of RAM ( Memory ).
Hopefully I explained it or compare it, easy to understand.
HP_TOUCHPAD said:
Android Apps are written in Java, Google does not want to pay license feeds as is offering the OS for free and making revenue on the data it collect from the devices for Ads placement, each device is a Digital Billboard that Google charge for displaying time to companies promoting their services or products.
If you have experience running a Virtual Machine on the Desktop, then it should be easy to understand the concept. Android apps are running inside an open source virtual machine " Dalvik" to run the java code and be display on the screen. To virtualize an OS on the desktop if the PC has 6 GB of RAM, and the guess OS requires a minimum of 4 GB to run, then it must be configure and there will only be 2GB left on the Host OS. Then the speed will degrade for low RAM resources and the HOST can not be use for nothing else. Once the Guess OS has done its job, it can be close down and the Host OS will function normally. But if the correct amount of RAM is not allocated to the Guess it will not boot, or shutdown. That is the same that happen in HP TP with Android, and those settings are apply manually in the build.prop by the manufacture. Everything in Android must be configure manually as the OS is too basic and primitive all settings are device specific according to screen resolution, size and amount of RAM ( Memory ).
Hopefully I explained it or compare it, easy to understand.
Click to expand...
Click to collapse
So having said that...and to sort of reiterate some of what I wrote in my last post, what is arguably the best ROM/procedure to have the best overall performance?
ashleyquicik said:
So having said that...and to sort of reiterate some of what I wrote in my last post, what is arguably the best ROM/procedure to have the best overall performance?
Click to expand...
Click to collapse
It all depends of the intended use from the user.
Does it needs to have a working:
Bluetooth ?
Reliable WiFi ?
Camera ?
Android compatibility with a special App ?
Android Versions are different and that sets the ROM apart, it will not be comparing Apples to Apples from different versions.
If you check my guide I have optimized 7.1.2, 8.1 and 9 to use swap and all those three versions works very similar.
One of the reason that I will be doing an Universal Setting and retro-fit older ROM, is to show that the Tablet will work similar with different ROMs.
I should probably make a version that is completely optimized only for games, that will required to delete unnecessary Android system process and RAM could be about 600 MB Free.
Does it needs to have a working:
Bluetooth ? Yes
Reliable WiFi ? YES
Camera ? Yes
Games really aren't necessary because I'm giving this tablet to someone that won't be gaming.
ashleyquicik said:
Does it needs to have a working:
Bluetooth ? Yes
Reliable WiFi ? YES
Camera ? Yes
Games really aren't necessary because I'm giving this tablet to someone that won't be gaming.
Click to expand...
Click to collapse
I started reading your thread from the beginning as I though that it was all about the 3d racer game.
You have a Tablet that would like to give to someone that has WebOS installed and also another Android version on it, which is 7.1.2 and you found it to be slow.
My recommendations for a newest ROM is the same as everyone on here recommended Evervolv 7.1.2 Android Nougat. You could use older ROMs but some basic apps may not work.
Previously @DoubleStuff provided the information on how to installed Evervolv 7.1.2 and also provided the link to my guide that with instructions.
If you flashed the Automatic_Wipe_All, then the Tablet is 100 % Android with swap and WebOS is gone, which will provide more storage space on the Tablet.
As per my guide the proper way to flash all the zip files provided is as follow:
Evervolv 7.1.2 Android Nougat
1.Click Here to Download the ROM
2.Click Here to Download the Boost Optimized settings with preset CPU Frequency
3.Click here to download Google Open Apps
Select Platform ARM, Android 7.1 and the Variant you want, Pico is recommended
4.Click Here to Download the Keyboard Fix​
The Boost optimized settings link (2) will give you the option to download 5 different CPU frequency, start with 1728 after you set up the tablet then try a higher speed, the fastest is 1836, if the Tablet boot into Android after flashing 1836 and use some apps and does not freeze then keep using it, if it reboots or freeze then flash 1782 if still not stable keep flashing lower frequencies.
To have a properly working camera, install this app:
https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en_US
If you have any issues just ask.
ashleyquicik said:
Does it needs to have a working:
Bluetooth ? Yes
Reliable WiFi ? YES
Camera ? Yes
Games really aren't necessary because I'm giving this tablet to someone that won't be gaming.
Click to expand...
Click to collapse
Well as I talked about in another thread where HP_TOUCHPAD wants to start retrofitting old ROM's with SWAP and Universal boost settings, there is a ROM that most agree is the "greatest ROM of all time", but its an old version of Android called KitKat 4.4.4 by JC Sullins and you can find the link here:
https://forum.xda-developers.com/showthread.php?t=2712680
Now one version later Lollipop 5.1 ( or 12.1 CM ) this same developer JC Sullins created a Lollipop ROM, that HP_TOUCHPAD is working on retrofitting: As @HP_TOUCHPAD said in a previous thread about this retrofit.
"...I Applied all optimization to CM 12.1, but testing. The only problem that I am experiencing is if I open about 8 to 9 apps and then press the square, next to home, it will reboot. I do not know if is the ROM or my settings.
But overall works great with swap. Will be posting new optimized settings, soon...." -HP_TOUCHPAD
And if I am not mistaken he may have finished it, but its not posted yet in his MASTER ZIP's list
What I recommend you do AshelyQ because its so easy and quick to install ROMs with our install methods, I would install KitKat above and test it for a day or two, then install another one maybe 7.1.2 and again test it, and maybe even another. And then you can pick the one you think meets you or your friends needs the best and stick with that ROM.
I am going to install HP_TOUCHPAD's retrofitted Lollipop ROM ( when HP_TOUCHPAD posts the settings ) and try to run "Run Race 3D" on it....I will report back with my findings.
HP_TOUCHPAD said:
<-SNIP->
To have a properly working camera, install this app:
https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en_US
Click to expand...
Click to collapse
Hmm ... I still get critical camera errors, even with the Open Camera app, even after a couple of reboots.
Do Not Touch said:
Hmm ... I still get critical camera errors, even with the Open Camera app, even after a couple of reboots.
Click to expand...
Click to collapse
The stock camera App of 7.1.2 works, but colors and orientation shows incorrectly, but it works on Open Camera.
DoubleStuff said:
...snip....
I am going to install HP_TOUCHPAD's retrofitted Lollipop ROM ( when HP_TOUCHPAD posts the settings ) and try to run "Run Race 3D" on it....I will report back with my findings.
Click to expand...
Click to collapse
Well I have not tested JC Sullins Lollipop ROM with Universal settings yet, but I just installed JC Sullins 4.4 without swap or any special settings, just the ROM and the GApps, and I am happy to report the "Run Race 3d" game went well, I made it to the BONUS Level and earned 146 coins with lots pomp and circumstance, and was getting adds everytime I completed a race, but I waited 5 seconds then pressed the "X" and things went well. So now I am very curious how these old "great" Android versions will work with HP TOUCHPAD'S Universal settings.
3 days ago I was not a gamer, but I guess I am now!!! LOL The HP Touchpad even had enough memory to take a screen shot.

Categories

Resources