-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebooting on LinOS 21 #27
Comments
Hi, Could you elaborate on what you meant by "writing some amount data". were you trying to open some apps assumeing it would get added to swap? |
Thanks for the reply. Yes, Swap creation and swap activation is successfully. when device uses created swap file, device is rebooting. (When 1-2 MB of a 4 GB swap file is used.) |
same here, keeps Rebooting on lineageOS-21.0 |
OK this time it gives me enough time to uninstall before it reboot again...at least I can still use my phone... |
v2.0-a6 BETA - doesn't reboot anymore, in fact I think it works fine |
@yeezylife check if it's actually working or if its on fail safe mode |
When I use this old phone to play hearthstone, it alway freeze. now it never freeze anymore...so I guess its working?..but maybe just the reboot after installation releases more RAM and by the way in v2.0-b2 Beta(4096_60_99999.zip) SWAP_FILE_PRIOR is the same as the SWAPPINESS. shouldn't it be 99999? |
how to 'check if it's actually working or if its on fail safe mode'? |
go to adb shell as root and go cat /data/swap/swapfile.log
this should show what happened. if its failing , then there's an incompatibility with the version of the swapon bin or it's non-existent at all. will you be able to contact me via email or telegram? it'll be handy if can send you custom configured zips to figure this out. |
I think you can just post a zip file in the comment... |
It's failing as it doesnt show the part where swap starts. i'll try adding more log data to the file so we can find out whats wrong. i'll link a debug release |
@yeezylife check https://github.com/janithcooray/lin_os_swap_mod/releases/tag/v2.0-c-debug-1 |
OK I‘ll have a try..I just hope I'll still be able to use my phone after this.. |
PS E:\Program Files\adb> .\adb shell "su -c 'cat /data/swap/swapfile.log'" |
@yeezylife right, swapon file may be somewhere else, could you send me the link from where you downloaded this ROM |
https://download.lineageos.org/devices/sagit/builds lineageOS official site... |
@yeezylife https://github.com/janithcooray/lin_os_swap_mod/releases/tag/v2.0-c-debug-2 |
PS E:\Program Files\adb> .\adb shell "su -c 'cat /data/swap/swapfile.log'" |
@yeezylife thanks for the help, i will need some more assistnace to figure this out. The swap bin is in the default path. not sure why it's not working at this point. Could you try this release. Also could you see the output of the following on adb swapon -v or swapon --version and ls -lah /data/swap/swapfile |
PS E:\Program Files\adb> .\adb shell "su -c 'cat /data/swap/swapfile.log'" PS E:\Program Files\adb> .\adb shell free -m it seems to work now as for the following three oder on adb... PS E:\Program Files\adb> .\adb shell swapon --version PS E:\Program Files\adb> .\adb shell "su -c 'ls -lah /data/swap/swapfile'" |
now it starts to reboot.. as soon as it starts to use the swapfile |
I guess I'll just give up ...hearthstone works now anyway.. |
@yeezylife thanks for your help. i will look for another way to debug this in the meantime. Sorry that this didnt work out for you |
Marking as closed since fail safe will prevent reboot. It will instead disable the module function. If you encounter this issue please post on #33 |
Swap creation complated and rebooted then swap is activated on boot. Device is opening successful but when writing some amount data on swap device is rebooting. I checked with Ram Truth app. Do you have any idea for this problem?
Device: Xperia XZ1
Rom: https://xdaforums.com/t/14-rom-lineageos-21-0-unofficial-1-0-2024-02-25.4659246/
The text was updated successfully, but these errors were encountered: