Hello there.
*Having an POCO X3 PRO 256GB/8RAM (vayu).
*Installed Android 13.
*Custom ROM crDroid 9.4.
*ROOT by magisk.
*meefik/busybox ver. 1.34.1
*schedutil CPU governor. A default for my ROM.
So, i'm trying to run Debian on my phone by using chroot, not proot.
I want to achieve good Debian speed performance.
I was trying to use Linux Deploy app. However, it was an app, and it was easy to set "unrestriced" mode of battery usage, and let Debian in chroot do his job while screen is off, but this app is deprecated, i have faced a lot of issues and bugs, head developer is working on other projects.
Then i've found an interesting script: Linux Chroot Installer & Bootscript Magisk Module.
I started to explore this thing, and I liked it. This script did his job, he installed a new Debian.
Some commands via "adb shell", and i've installed ssh and samba servers.
Using 3-linear script, Debian launches on phone startup and sets high priority(nice -n command) for samba and sshd server processes.
BUT:
*When screen is on - performance of Debian is okay. Samba is transferring files fast, ssh is working with minimal latency.
*When screen is off - performance is very low, although android settings of battery saving is off. BTW, CPU clocks is not that low, and seems like CPU is trying to do his best, but not enough.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, i want to continue using of this script. It gives me a lot of customizations. But it's not an android app, that would allow me to set unrestricted battery usage for this Debian, all the job is need to be done by CLI. And at this moment, i don't know how to allow Android power system use more resources while screen is off.
I've searched some topics, but couldn't find some useful.
CPU governors - tried changing 3 of them, but did not helped.
A hardcoded deep sleep mode?
What is your suggestions to prevent activation of "deep sleep mode" as screen goes off?
Thank you.
Related
If I can find out here awesome, but I'm trying to find answers about Virtualization settings on a Windows 10 PC (Gigabyte MB).
You ma;y or may not know that trying to ask a question at Gigabyte comes at a cost (time and BS facts about your system).
I digress, I am trying to run an Android emulator (tried a few and they all ask for Virtualization to be enabled in BIOS).
In BIOS, I go to CPU advanced settings and enable whatever it is that Gigabyte calls it (something else).
I reboot my system and then run which ever program ie.. LDPlayerm BlueStacks., etc... and it still says VT disabled.
How do I enable it on my Motherboard?
Gigabyte AORUS Gaming 7 Wifi with the most recent firmware I could find (F51d).
If not an answer here can you point me to a site that I might be able to get help.
Thank You in advance.
Frustrated in Mexico - James
Bottomline is I want to run a mock GPS as I live in Tijuana Mexico and work in San Diego CA.
Nobody needs to know that I am not in San Diego when I am surfing. Even with my VPN a lot
of sites still know I am not in the states. This is more than frustrating. I thought VPN was suppose
to keep anonymous, that is not anonymous. Again I ramble.
Thanx for your time, hope somebody can help.
How To Enable HAV ( Hardware Assisted Virtualization ) on PC
@jpr9845
Check for CPU-virtualization is possible. You do this by running 3rd-party app LeoMoon CPU-V"
If you get result as shown
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
then you can enable VT in computer's UEFI.
f you have Windows Hyper-V (an optional feature of Windows) enabled, turn it off and reboot the system.
Also make the Memory Integrity feature is turned off as well
Now enable VT in computer's UEFI:
Go to Windows Settings
Click on Update & Security
Now click on Recovery
Click Restart now under Advanced startup.
Go to Troubleshoot
Click on Advanced Options
Now click on UEFI Firmware Settings
Click Restart.
https://mashtips.com/wp-content/uploads/2019/06/Windows-10-Advanced-Startup-Settings.jpg[img]
Look for something like an Advanced menu or tab. You’ll most likely find the setting you need to turn on under this. In addition to all the other things that can be different, this can also be labeled differently. It could be Advanced Mode, or simply Configuration like it is on my Lenovo Ideapad.
Finally, look for the setting which has Virtualization is its name and turn it on. Sometimes it’s named completely vaguely. For instance, Vanderloop. Depending upon your processor and other factors, these are the names commonly used.
[color=blue]
AMD-V,
VT-X
Vanderpool
SVM [/color]
[/list]
Hello, I've never gone beyond entering developer mode on any of my phones, looking around carefully, then turning that mode off. I own two PH-1 phones, one is in full time service, and I would like to know of a tutorial / step-by-step to do what I need to do to maintain this phone with the images (ROMs?) that are being maintained and updated. I don't need the phone to do anything other-worldly, just keep it updated.
This is the only forum on here I'm allowed to post to, because I've been a listen-only member for a couple years but have never posted. I've just started using Ubunto 20.04 on a new laptop so I can get away from Windows, but I still have a Win7Pro laptop.
Thanks for your recommendations on how to get started -- safely started -- and how to learn what I need to learn.
Also, I just read some of the read-me-first stickys, and please allow this to also be my "Say Hi" email...
"MP"
PS -- I get a captcha, check it, get the green checkmark, but I see *no* image... I'm using firefox w/ NoScript (all scripts enabled for this tab), on an Ubuntu 20.04 laptop.
So no one cares to reply? Did anyone read it besides myself? Whiskeytangofoxtrot
@Messypotamia
If phone's Android OS isn't an A/B-partition-layout-system - what I believe because its Stock ROM is Android 7.1. - then updating a phone's Android requires phone's boot-loader is unlocked. This must get enabled within phone's Developer options - keyword: OEM unlock - what simply sets phone's unlock ability flag to 1 . Additionally it's necessary that ADB ( read: Android Debug Bridge ) gets enabled in phone's Developer options - keyword: USB debugging.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hello,
i don't need it for a phone bu for a tablet that is used once per day or less, i would be awesome :
when I press power button of the tablet to make the screen off it would be great if :
- plane mode is activated in same time (no more wifi)
- all background application (mail,etc.) are disabled
As a workaround I could use the "low power" mode that disable all background application but this kind of mode always come with less performance and I don't want it. I want 100% of cpu and speed but when I don't use the tablet, I don't want a lot of app to run and kill my battery.
do you have an app or a setting for this ?
I use Naptime, this app force the doze mode. Though first you need grant a permission with ADB.
thanks I will try it. I read that this app accelerate the doze mode that exist already in android, right ? there is already a doze mode integrated ? how many time do we need to wait so that this doze mode activates ? maybe it doesn't exist in previous version of android, right ?
This app forces the phone to go into doze mode in minutes instead of hours. Since android 6 came out they put the doze mode. The truth is that this works great, now my phone only spends 0.5 percent per hour when the screen is off.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And in naptime labs settings
Thanks, do I need root or developer mode or something like that to be able to do adb command (one tablet is root and adb is enabled), the other one don't. Maybe I have to unlock something in my lenovo tablet to perform adb ?
You need enable usb debugging in developer mode options, you need root only if you want suspend google play services.
The application gives you the command to type in adb.
thanks, naptime installed, there is a whitelist notification, do I need to put naptime in the whitelist of application that are not optimized ?
Read First.
I do not own or made this kernel. The owner/developer is @Laulan56, all the credits, copyright are belong to the original owner.
Warning:
It's your choice to use it or not.
I do not responsible for what happened to you.
If you messed it up and you point your finger at me, i will laugh so hard at you.
Marisa OSS Kernel was build for toward performance, efficiency, while also maintaining battery backup.
Please Note:
The Marisa kernel is only work on OSS AOSP Android 12.
Changelogs of R3:
-Import Anti flicker(DC dimming) Support(NEED TEST)
-Use efficient CPU frequencies and busy costs
-Some more that idk...
[Check more on GitHub for details]
Instructions:
•Enter recovery mode, install Magisk first as it required, then find the file you downloaded in storage and install it.
•Clean "Davik-ART" and "Cache" after done and before reboot (Optional).
Bugs:
•Weird or corrupt color when the brightness is set to low enough. Avoid set the brightness to lowest or your device screen will become total black, if you are stuck, then reboot.
•You may experience minor lags of animation in some apps.
•Slow charging? Go to system/vendor/etc and remove all the files with name "thermal-xxx", "thermald-devices" and reboot (It's recommend you to take backup before remove them), if the system is blocked you from delete it, then boot to recovery mode and go to file manager or something like that, if it not, then reboot few more time until it's working.
•It's the only fix i did found so far, and on't worry about overheating, kernel or the ROM (maybe) have msm or caf thermal. When it reach 45°-46°, the charging will slow down.
•However, don't run any heavy app like 3D Games, Video Editor or Benchmark during charging, or your device will get huge lags, freeze and the fast charging will stopped working until you reboot it.
Also don't use or uninstall any Magisk modules that affect charging.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FKM profile will not be available, due to problem while trying to saving profile in app.
That's all of it.
Leave some thanks if it work for you.
thank you very much!!!
Really appreciate the work
could you update it to the latest revision
Naveen Narendra said:
Really appreciate the work
could you update it to the latest revision
Click to expand...
Click to collapse
dude I'm not a dev, ask @laulan
Hi all,
On Android 13, Google enabled KVM support for Tensor Chips model(Pixel 6 / 6pro / 6a). So we can run a Virtual machine at full speed, but there is no APP to utilize this feature.
I modified the Limbo Emulator (QEMU), so it can enable the KVM on Pixel 6 Phones. Due to the limitation of the kernel, the APP needs ROOT permission to access the KVM service(/dev/kvm)
Currently, only VNC is working on this APP, and you can only boot directly using the Linux kernel. UEFI did not work on KVM.
Network functions worked, but you may need to set the DNS inside the Guest OS.
Arch Linux for arm64 runs pretty well on Limbo. It runs even faster than Raspi 4. You can download it from ArchLinuxARM-aarch64-latest.tar.gz
Other Linux can also run on the Limbo, but you may need to recompile the kernel to enable virto-related functions.
Download link:
Releases · wasdwasd0105/limbo_tensor
Limbo for Tensor is a QEMU-based Hypervisor for Tensor-based Google Pixel devices such as Pixel 6 & 7 series. - wasdwasd0105/limbo_tensor
github.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi, can't install the app, says invalid package
Invalid package
ne0ns4l4m4nder said:
Invalid package
Click to expand...
Click to collapse
marynius said:
Hi, can't install the app, says invalid package
Click to expand...
Click to collapse
You can install an apk package as a test package via adb (command adb install -t limbo~.apk). You can also use LADB to install (tested)
Simple installation of the apk is not possible due to the included test build in the application manifest
Awesome! This will come in handy.
Does anyone know if it would be possible to use the simulate secondary display dev option with a display link device or Chromecast?
A while back I discovered that the second screen will actually automatically tie to the (separate from main phone gui) mouse/ keyboard connected. The start menu of that virtual display opens apps in desktop resizeable mode.
It's just not practical to run a desktop as an overlay. If someone can figure out how to feed it to an external display we'd have a solid makeshift DeX with much more flexibility and potential.
Anyone managed to get a working internet connection on the guest?
Can you please tell us how to run windows arm using your latest update there are many trying to attempt this even by installing native qemu and all trying to create a different version of your app with more commands and also how to run other operating systems besides your provided one