Disable Desktop Composition challenge.. - Windows 8 General

A humble animator reaches out to XDA..
Switching to Windows 8 destroys the ability to use one of the most streamlined and dynamic animation programs ever made.
Macromedia's Flash MX ( Version 6 ) Why this version? It's the version before Adobe bought it, and messed with the brush engine. Pressure
sensitive brush lines are amazing, sharp, and precise compared to later Adobe versions. Many cartoonists prefer drawing in it.
Flash's vector engine clashes with Windows "glass" and DWM composition though. The program works fine, but in Windows 7, one must
disable desktop composition in compatibility settings, or navigating through to edit a symbol is incredibly slowed down. ( by about 500%! )
So, in switching to Windows 8, disabling DWM is not possible any longer, and thus - working in Flash 6 is broken forever.
Has anyone managed to turn off DWM in Win 8 through any kind of hack, or using old DWM code?
Help! Flash isn't the only app affected by this!
Cry.. sob.. etc..
:cyclops:

cartoonmonkey said:
A humble animator reaches out to XDA..
Switching to Windows 8 destroys the ability to use one of the most streamlined and dynamic animation programs ever made.
Macromedia's Flash MX ( Version 6 ) Why this version? It's the version before Adobe bought it, and messed with the brush engine. Pressure
sensitive brush lines are amazing, sharp, and precise compared to later Adobe versions. Many cartoonists prefer drawing in it.
Flash's vector engine clashes with Windows "glass" and DWM composition though. The program works fine, but in Windows 7, one must
disable desktop composition in compatibility settings, or navigating through to edit a symbol is incredibly slowed down. ( by about 500%! )
So, in switching to Windows 8, disabling DWM is not possible any longer, and thus - working in Flash 6 is broken forever.
Has anyone managed to turn off DWM in Win 8 through any kind of hack, or using old DWM code?
Help! Flash isn't the only app affected by this!
Cry.. sob.. etc..
:cyclops:
Click to expand...
Click to collapse
Steps:
use process explorer
kill explorer.exe
winlogon.exe
kill dwm.exe
use command line to delete/move dwm.exe
unsuspend winlogon.exe
!!!
profit???
BTW, you will have to replace dwm.exe before rebooting or logging off, or you will have bricked your installation
Don't run explorer, or else bad things will happen. Ex7 for windows 8 will work fine.

phailyoor said:
Steps:
use process explorer
kill explorer.exe
winlogon.exe
kill dwm.exe
use command line to delete/move dwm.exe
unsuspend winlogon.exe
!!!
profit???
BTW, you will have to replace dwm.exe before rebooting or logging off, or you will have bricked your installation
Don't run explorer, or else bad things will happen. Ex7 for windows 8 will work fine.
Click to expand...
Click to collapse
Wow! This does in fact work.. without rebooting.
That last step of deleting / moving dwm.exe not necessary.
I used process explorer to:
open cmd.exe
kill explorer.exe
SUSPEND winlogon.exe
kill dwm.exe
in cmd: run flash.exe
when done: unsuspend winlogon.exe - everything returns to normal.
Now if I can only automate this. Hmm.. maybe I can try and whip something up in autoit or autohotkey so that this can all be done on the fly for any
particular app..
Thanks!

cartoonmonkey said:
Wow! This does in fact work.. without rebooting.
That last step of deleting / moving dwm.exe not necessary.
I used process explorer to:
open cmd.exe
kill explorer.exe
SUSPEND winlogon.exe
kill dwm.exe
in cmd: run flash.exe
when done: unsuspend winlogon.exe - everything returns to normal.
Now if I can only automate this. Hmm.. maybe I can try and whip something up in autoit or autohotkey so that this can all be done on the fly for any
particular app..
Thanks!
Click to expand...
Click to collapse
Bad things might happen if you leave winlogon suspended for too long, that's why the move dwm step exists.

Related

[APP][21/11/2008] NoTSR - A very little tool to restore memory

Hi.
When using my Diamond I noticed some processes don't disappear when they should. They fill up memory. Either you kill 'em with some Task Manager, or you soft reset.
Don't wanna SR or kill processes manually? Let my thing do it for you!
NoTSR is a very very simple program which kills some predefined processes, based on my experience with Diamond.
Source code (eVC++ 4) is for you to use and modify whatever you want. However, it would be nice if you gave me some credit if using it!
Have fun!
p. s. Sorry for the icon.
If anyone is wondering, this is what it kills off (copied straight from the source code):
"Opera9.exe", // everything still loads well
"OperaPreL.exe", // after killing them
"pword.exe", // for some reason Pocket Word leaves its process even after leaving
"CommManager.exe", // other Office apps seem to be fixed
"AudioManager_eng.exe", // last ones are opened by manila for quicker loading of tabs.
"AlbumSearcher.exe" // killing AudioManager stops music and rewinds current track.
I keep getting a "Can't list processes" dialog box when I launch the app. I tried placing the NoTSR.exe within in the extracted NoTSR subdirectory and also outside the subdirectory.
JNGold said:
I keep getting a "Can't list processes" dialog box when I launch the app. I tried placing the NoTSR.exe within in the extracted NoTSR subdirectory and also outside the subdirectory.
Click to expand...
Click to collapse
I can confirm that.
What did we wrong? Do we have to place it in a special folder, like windows?
It worked for me, but my phone was very sluggish after running the app and I had to soft reset to bring it back to par.
Thanks for starting this development, there is definitely a gap to be filled by it, I use oxios hibernate and a task manager to finish off opera .exe, this is much easier to use and your icons not so bad either!
uniqueboy said:
It worked for me, but my phone was very sluggish after running the app and I had to soft reset to bring it back to par.
Thanks for starting this development, there is definitely a gap to be filled by it, I use oxios hibernate and a task manager to finish off opera .exe, this is much easier to use and your icons not so bad either!
Click to expand...
Click to collapse
Thanks for positive feedback. I wonder why th sluggish reaction. Loading of opera as well as some TF3D tabs will for sure be slower, but whole phone is weird. After all, it just kills and leaves (see src if unsure). I use NoTSR myself and I got no problems at all. Maybe you could test it again and if it slows down show the list of processes?
@others: try using the app with rest closed. It should work in any folder; I keep it in my docs and launch via Start.
Thanks again for interest!
same error message for me. sprint touch pro with jd6.1 rom
I can't reproduce that error to analyze and fix it, so I post new version which tells you what went wrong. Try with it.
trying now
kosherpig said:
Thanks for positive feedback. I wonder why th sluggish reaction. Loading of opera as well as some TF3D tabs will for sure be slower, but whole phone is weird. After all, it just kills and leaves (see src if unsure). I use NoTSR myself and I got no problems at all. Maybe you could test it again and if it slows down show the list of processes?
@others: try using the app with rest closed. It should work in any folder; I keep it in my docs and launch via Start.
Thanks again for interest!
Click to expand...
Click to collapse
OK, so I've been using the NoTSR app for a couple of days and I can't reproduce the lag that I had when I first ran it, odd. I think it may be something to do with the fact that when I first ran it it was from within file explorer, after using it I could not get explorer to open up again properly. Now I have put a shortcut in my windows/start up/programs folder and I am running it from my start menu everything seems just fine and is all working as it should with no sluggish side effect, so thanks again kosherpig for the very useful app.
SKTools Lite (free) comes with a small program called "Free up ram." During SKTools Lite install, it will tell you something about your windows version, just click through that and let it install.
Once it's installed, go to your programs page and you'll see it there: "Free Up RAM". Just run it once. It will look like nothing is opening, but its because it's working in the background. You'll get a message box very shortly telling you how much ram (in KB) you freed up.
http://s-k-tools.com/index.html?sktools/m_lite.html
I use it all the time. Brings me from 45 -50 down to 35-40. Lowest I've seen was 32%.
Our programs are slightly different. My one doesn't free RAM by itself; it closes processes which won't close by a "close all" command. And NoTSR is not resident (after all its name is No Terminate-Stay-Resident ). Its goal is to be as small as possible, also in term of occupied disk space (~9kB now). Maybe this SKTools and NoTSR could be used in conjunction to free up even more RAM?
And, I also got the error message 2 times.
1st when I was running FM radio.
2nd when I was at the Music tab.
I solved them:
1st by closing FM radio and invoking NoTSR. Everything went OK.
2nd switched to the Home tab. NoTSR failed again. Waited some seconds, ran again. OK now.
Solution: fails? Shut everything using the HTC task manager, go to today/home screen, and invoke NoTSR after some time. I can say the behavior is really weird, since my code doesn't depend on running apps.
However, I run NoTSR everytime after using Opera. I got that error 2 times in my whole usage.
Anyways. Thanks for all responses
I find "Oxios Hibernate" frees up more ram than sk tools "free up ram" does, it is also free, but must be run manually, a useful addition to any start menu.
I'm getting about 10 mb back with NoTSR after opera browsing, "free up ram" or "hibernate" practically nothing back after opera browsing. Basically if you use opera then this is a "must have".
A small update.
If you know when Oxios Hibernate works and NoTSR fails, check this exe out. I tried to contain the Hibernate in it.
This version is bugged.
Please use version from 1st post.
If you ran this version already perform a soft reset.
Sorry for inconvinience.
chronster said:
SKTools Lite (free) comes with a small program called "Free up ram." During SKTools Lite install, it will tell you something about your windows version, just click through that and let it install.
Once it's installed, go to your programs page and you'll see it there: "Free Up RAM". Just run it once. It will look like nothing is opening, but its because it's working in the background. You'll get a message box very shortly telling you how much ram (in KB) you freed up.
http://s-k-tools.com/index.html?sktools/m_lite.html
I use it all the time. Brings me from 45 -50 down to 35-40. Lowest I've seen was 32%.
Click to expand...
Click to collapse
it lowers your memory usage by 10%???
To me it goes from 63% to 61%...
On my Diamond
thats frustrating...
Hi there, trying to use this app I'm getting the same error as others...
"Can't list processes: The parameter is incorrect. (#0)"
Task Manager is empty, I've tried leaving it on the home screen for 20 secs and running it but still the same problem.
Any ideas? I'd really like to get this working as Dutty 3.1 does appear to suffer from this memory problem.
EDIT.... OK, did a reset and it's working fine. I'll play with it over the next day or so, and fingers crossed Dutty 3.1 will be good enough for me as I don't need YouTube.
EDIT2... Worked for a while, now has the same problem as earlier.
Are you using the version form 1st post?
If not, please use it.
By the way, something is really wrong... AFAIK "Invalid parameter" has error code 87, 0 is "success". I've looked at program code to see where I could mess up memory, but I saw no such places. Help with finding this bug (you've got the source) would be very appreciated.
hi kosherpig
can you add a settings file where we can put our personal process to stop?
I've try to modify the source but I'm not able to compile it
kosherpig said:
Are you using the version form 1st post?
If not, please use it.
By the way, something is really wrong... AFAIK "Invalid parameter" has error code 87, 0 is "success". I've looked at program code to see where I could mess up memory, but I saw no such places. Help with finding this bug (you've got the source) would be very appreciated.
Click to expand...
Click to collapse
Hi Kosherpig, I am using the version from the 1st post.
I'm happy to help finding the bug, but not sure what to do here! I THINK it stopped working after I used TomTom7, but can't be sure.
It's only 1635 and it's down to 16% battery already (I think this is a problem with Dutty 3.1), so I don't want to do lots of tests. However, when I'm home and charging it, I'll try each app individually until I pin point which one "causes" the problem.
Does this help? Anything else you want me to try?
Hi kosherpig, getting on great with NoTSR now, I just have one small idea that it would be nice to show the memory stats in the pop up dialogue in a similar way to oxios hibernate. Unless of course this would significantly affect the size and speed of the app, in that case I think it is easy enough to check on the memory usage other ways with a couple of quick taps.

[Solution] MUST-HAVE For X2 Users! Speed Tweaks & How to Disable "Slideview" & Panels

[Solution] MUST-HAVE For X2 Users! Speed Tweaks & How to Disable "Slideview" & Panels
DISCLAIMER: This works for me 100%. I have noticed 200% - 300% longer lasting battery life, AND at least 3 - 4 times more responsiveness throughout the whole phone, you can even benchmark the difference between stock X2 and an X2 run with my solution. I will not be held responsible for any damage to your phone!
I've read a lot, and done a lot on my X2 recently. From what I tested, black screen of death (when in standby mode) = DONT USE AUTO BACKLIGHT! Try this & see what happens.
Now, my X2 barely freezes or gets any lag at all, in fact, it is SMOOTH. Yes, you heard it, SMOOTH (even when scrolling through start menu).
Using the X2 as of now is a nightmare, but I've come up with a solution until MR2 comes out. And, lets hope MR2 really is for the best.
This solution is based on the standard WM today home screen. I haven't come across ANY problems at all.
One day, I came up with an idea. If I dont use tilewave, why do I have to keep it? Considering growing panel, pixel city panels caused lag to the phone, I decided to delete tilewave altogether and now my phone is significantly faster!
Standard WM today screen I think, is in fact I think its the best:
Less battery drainage, simple, fast, efficient, no black screen of deaths.
This solution works BEST if you follow ALL STEPS BELOW:
1) Uninstall Growing Panel, Pixel City (Day & Night) | (Start -> Settings -> System -> Remove Programs)
2) Uninstall all SPB shell and software. (Start -> Settings -> System -> Remove Programs)
3) Start -> Settings -> Today -> Tick Date & Messaging (Or any other plug-in of your choice, less the better)
4) Delete tilewave panel in (File Explorer -> Program Files -> Panels)
5) Delete the other panels of your choice, I deleted everything except google panel (In case today panel for some reason crashes, I still got google panel to work with) | (File Explorer -> Program Files -> Panels)
6) SKtools (Search SKtools on XDA forums search function) -> Tweak -> Optimise -> Tick Font cache size and TCP window size -> Action -> Performance -> Optimise -> Soft reset
7) Advanced configuration tool (Search in XDA forums for the program / google it) -> Performances ->
ENABLED
File system cache: 8MB
File system cache size: 16384 sectors
Glyph cache: 32kb
8) SKtools -> Category -> Clean up -> Go to EACH and EVERY option to delete bad registries, temp cache folders, bad uninstall info, etc. MAKE SURE clean up EACH option in clean-up. INCLUDING registry optimiser, do it!
9) To resolve the messaging lag: Search "SMS lag fix" in XDA forums to get rid of lag.
10) Disable Slideview: Delete the string "launch199" from HKLM\init (Use TotalCommander program, credits to bazsikar & jerpelea for this one!)
11) Disable Panel Manager (OPTIONAL): Delete ALL panels except MS_Today panel in programfiles\panels to disable panelmanager.exe
12) Disable XKeyhandler: SKtools-> Services-> Delete xkeyhandler. Step 2: Totalcommander-> HKLM -> init -> Delete Launch65
13) DONE! Soft-reset one last time, and FEEL the difference =)
This solution covers, as far as I know, the general basic operations and responsiveness of the entire windows mobile system for the X2 and/or other WM devices. I don't suffer any MR1 upgrade issues with this solution other than the "Storage card disappearing" issue, which everyone is having a problem with as well.
Disabling slideview is good option for those who think its totally useless (like me) and just causes the system to crash, and hogs A LOT of CPU resources and thus, lags the phone and also plays a role in causing the black screens. You will notice a SIGNIFICANT DIFFERENCE in battery life and less bugs and crashes with this one!
Credits go to XDA-developers and their respective authors for the posts, you know who you are. All I've done is complile the information and made a solution for the X2 users out there.
UPDATE: To disable slideview, read step 10, credits to bazsikar & jerpelea =)
UPDATE 2: To disable panel manager and panels, read step 11 & 12 =)
ALL THE STEPS COMBINED ABOVE WILL GIVE YOU A FAST, SMOOTH X2 WITH NO BLACK SCREEN OR CRASHES + 400% IMPROVED BATTERY LIFE (1 MONTH SO FAR, I HAVENT HAD A SINGLE CRASH OR BUG)
Feedback welcome, and please report if this works for you, because it worked for me 100% =)
Thanks for the update , I will give the SK tools thing a crack later.
Thanks for tip!
I got stability on a real good level
by just not using TileWave.
SlideView has sometimes problem with
video playing in Landscape mode...
Seems to be a bit quicker, we will see how stable it is.
thx royalbloodvi but nothing new in the solutions
Just finished with the tunning, it seems faster, lets give it a try
for now i leave my benchmark results
Integer 316.5749
Floating Point 7.565
RAM Acccess 594
Draw Bitmaps 699
MainStor Write 2011.79
MainStor Read 5667.90
Storage Card W 962.86
Storage Card R 1189.31
File List 1443
File List S Card 1034
Mine its a little slower on the internal and external memory.. idk why..
Too bad Tilewave/Slideview is one of the things the X2 had over the X1
harveydent said:
Too bad Tilewave/Slideview is one of the things the X2 had over the X1
Click to expand...
Click to collapse
Slide View is actually almost flawless in my case...
My programs!!
Hi all
Im having a strange and annoying issue..., i dont know if it was after or before the procedure depicted here by royalbloodvi but maybe you can know what is going on..
If i install software on the storage card, i can see the folder created under "Program Files" and i can execute the software with no problems.
Then when i close the app, somehow, automagically the entire folder structure under "Storage Card\Program Files" gets erased, doesnt matter if i have one or twenty apps there, always happens the same thing ....
I dont know if i explain myself clearly, in fact english is not my mother language as you can see haha, but i dont know whats going on, even in this case i dont know which keywords i have to use to google it...
Please if you can give me some advice or trick would be very appreciated, even the "right" english keywords to search for it.
Thanks in advance dudes...
Alex
Mexico
coloboxp said:
Hi all
Im having a strange and annoying issue..., i dont know if it was after or before the procedure depicted here by royalbloodvi but maybe you can know what is going on..
If i install software on the storage card, i can see the folder created under "Program Files" and i can execute the software with no problems.
Then when i close the app, somehow, automagically the entire folder structure under "Storage Card\Program Files" gets erased, doesnt matter if i have one or twenty apps there, always happens the same thing ....
I dont know if i explain myself clearly, in fact english is not my mother language as you can see haha, but i dont know whats going on, even in this case i dont know which keywords i have to use to google it...
Please if you can give me some advice or trick would be very appreciated, even the "right" english keywords to search for it.
Thanks in advance dudes...
Alex
Mexico
Click to expand...
Click to collapse
This is a KNOWN issue for all X2 users, using my solution or not.. only way it can be fixed is up to SE itself since they screwed the X2 over.
UPDATE: Read step 8 to disable SLIDEVIEW for significant extended battery life and a more stable X2 =)
royalbloodvi said:
DISCLAIMER:
8) Disable Slideview: Delete the string "launch199" from HKLM\init (Use TotalCommander program, credits to bazsikar for this one!)
Click to expand...
Click to collapse
Credits to jerpelea for this one!
Adjustments made credits to both of you =)
royalbloodvi said:
Adjustments made credits to both of you =)
Click to expand...
Click to collapse
Thanks!
And also thanks for your sharing, I'm just removing everything you suggested and let's see. Although I'm a bit sad because I like SlideView and TileWave, especially visualy but I need some functions working properly instead, so I give it a try.
As I extensively use X2, using most of it's features (besides GPS)
I must say that the main thing FOR ME was to not use extensively TileWave.
After beeing really frustrated and unhappy, I was still tracing the places where the device crash.
And found it was using some functions on TileWave, I can say it
after repeating the patterns about 50 times, I was like a real beta tester....
So avoiding it, the device works almost seamless....
The bugs I see:
As I mentioned, the main SlideView bug is playing and exiting video playback
in landscape... This always crash sooner or later.
Besides that, the device gets stuck in Sound&Notification settings once you go there sometimes
and WM Homescreen sometimes doesn't see the pictures from memory card.
Besides that, it works and if they'll ever make it reliable,
it's my best choice.
volks,
i have been using x1 for over an year and been in XDA for yearssss,
that thing that i notice in openGL (msn 7200 platform)freeze the phone and crash the system.
if you wanna crash your sytem use slideview panelmanger ,play xtrakt then run a video and your xperia will crash.
opengl on the msm 7200 platfom is very unstable(maybe its the lack of good drivers or window mobile integration).
avoid opengl stuff and you will be good.
UPDATE: To disable panelmanager.exe, simply delete all panels in programfiles\panels EXCEPT MS_Today panel, and panelmanager will no longer run.
Result: Extend battery life EVEN further! Works best for those who dont use panels like me (I find it pointless)
royalbloodvi said:
UPDATE: To disable panelmanager.exe, simply delete all panels in programfiles\panels EXCEPT MS_Today panel, and panelmanager will no longer run.
Result: Extend battery life EVEN further! Works best for those who dont use panels like me (I find it pointless)
Click to expand...
Click to collapse
Yes, I deleted it aswell from HKLM\init together with xkeyhandler.exe
Good battery life and stable system, no freezing at all, no missed sms or calls.
Although camera still doesn't start sometimes even if saving location is set to phone memory.
bazsikar said:
Yes, I deleted it aswell from HKLM\init together with xkeyhandler.exe
Good battery life and stable system, no freezing at all, no missed sms or calls.
Although camera still doesn't start sometimes even if saving location is set to phone memory.
Click to expand...
Click to collapse
Camera sometimes doesn't start with certain apps in the background
that's my finding.
I've had it with stopwatch running.
Once I turned this off, camera went fine.
As for me - I use panels and SlideView, but just don't use certain
things from these, also no freezes at all.
The main concern is memory card problems now!
(please excuse my english)
thanks for this solution, X2 is better whitout slideview.
but i have always probleme this memory card (like everybody)
and some crash in standy by mode -> black screen and soft reset :'(
other problème : illluminations don't work normaly (maybe because i have use a cab find in xda ...)
and picture in mms are very very very small ...
anybody was an idea ?
thanks

Windows 8 Support

As working for Microsoft, Specially with their windows project I found it very difficult to get a proper guidance or troubleshoot their problems when Microsoft stops supporting them.
Some of you might be aware to the fact as Windows 8 pro at 1,999/- INR price tag is coming without any support from Microsoft end and neither you have any trial option to check and decide whether u should buy it or not, It becomes utterly necessary to initiate a small contribution for the great lovers of the Microsoft.
Here what we are trying to do is to get all the answers for your beloved windows 8 and help you with the troubleshooting their causes.
I would also like to tell the moderators: Thanks for deleting my previous thread but it wasn't a direct commercialization what I was trying to do was to make available things which aren't free.
As piracy is strictly neither my policy nor this forum's so we needed to pay to Microsoft and that is what we were charging, it wasn't a product promotion it was making product available at a price which makes it nearly free.
Anyways back to the topic, folks please go ahead with the issues
I just gat the Asus Q200E and im wondering if I want to switch back to Win 7 will it be tough to get drivers or are they similar to the win 8 drivers. Ive onl used windows 8 for four days and will go on trying to get used to it but so far I dont think i will stay with it. I find myself getting to pissed off with it. I am figuring out most of it but its just not for me. Maybe when there is more support int he way of apps I will use it but its too querky for me as it is.
splatoid said:
I just gat the Asus Q200E and im wondering if I want to switch back to Win 7 will it be tough to get drivers or are they similar to the win 8 drivers. Ive onl used windows 8 for four days and will go on trying to get used to it but so far I dont think i will stay with it. I find myself getting to pissed off with it. I am figuring out most of it but its just not for me. Maybe when there is more support int he way of apps I will use it but its too querky for me as it is.
Click to expand...
Click to collapse
You can always downgrade to the previous versions for the windows, though downgrading to the windows xp would be bit troublesome due to the compatibility issues but windows 7 and 8 more or less share the same architecture for the device driver compatibility so downgrading to windows 7 would not bring you major issues with ur device drivers until and unless you are having TPA module installed in your laptop
and for downgrading please do contact Microsoft for a downgrade key it is absolutely free
Thank you for your help. Much appreciated..
splatoid said:
Thank you for your help. Much appreciated..
Click to expand...
Click to collapse
welcome
The only issue that i have is when I leave my computer on idle, after a,little while, system just takes over 25% of my cpu. I have a toshiba portege that originally had windows 8 release preview. Any method to prevent system from doing that?
Sent From My YP-G1 running Nebula beta 1
splatoid said:
I just gat the Asus Q200E and im wondering if I want to switch back to Win 7 will it be tough to get drivers or are they similar to the win 8 drivers. Ive onl used windows 8 for four days and will go on trying to get used to it but so far I dont think i will stay with it. I find myself getting to pissed off with it. I am figuring out most of it but its just not for me. Maybe when there is more support int he way of apps I will use it but its too querky for me as it is.
Click to expand...
Click to collapse
Nice, the first post in an 8 support thread is a question about 7.
goldflame09 said:
The only issue that i have is when I leave my computer on idle, after a,little while, system just takes over 25% of my cpu. I have a toshiba portege that originally had windows 8 release preview. Any method to prevent system from doing that?
Sent From My YP-G1 running Nebula beta 1
Click to expand...
Click to collapse
I have this issue with my older computer; 2.2GHz single core AMD athlon 64 (socket 939). I'd be curious as to what is causing this too, but I only have the release preview on that computer. For me, the computer idles at 25% and it just feels really sluggish, like each process in the system isn't running as efficiently as it could. Conversely, a modified XP (unofficially modified: all components but the bare minimum removed and slipstreamed updates / registry improvements) runs perfectly fine on the same hardware. I know XP is faster than 8, and especially so the modified version I use, but it's clear that something is actually not right. The DPC latency isn't terrible, but it's consistently over 1000 microseconds, vs XP which averaged ~15 microseconds. It must be a driver issue I'm guessing? The hardware is old and I wouldn't be surprised if one of the components isn't running well for whatever reason under 8.
I think the issue is true for both x64 and x86, I thought some of my RAM might have been bad so I took them out and switched to 32 bit while I was at it (in case the 32 bit drivers were better).
Actually on my new gaming rig the dpc latency averages exactly 1000 microseconds with 8, and though I suffer no performance issues, this bugs the living hell out of me, knowing I used to have 15!
link68759 said:
Nice, the first post in an 8 support thread is a question about 7.
I have this issue with my older computer; 2.2GHz single core AMD athlon 64 (socket 939). I'd be curious as to what is causing this too, but I only have the release preview on that computer. For me, the computer idles at 25% and it just feels really sluggish, like each process in the system isn't running as efficiently as it could. Conversely, a modified XP (unofficially modified: all components but the bare minimum removed and slipstreamed updates / registry improvements) runs perfectly fine on the same hardware. I know XP is faster than 8, and especially so the modified version I use, but it's clear that something is actually not right. The DPC latency isn't terrible, but it's consistently over 1000 microseconds, vs XP which averaged ~15 microseconds. It must be a driver issue I'm guessing? The hardware is old and I wouldn't be surprised if one of the components isn't running well for whatever reason under 8.
I think the issue is true for both x64 and x86, I thought some of my RAM might have been bad so I took them out and switched to 32 bit while I was at it (in case the 32 bit drivers were better).
Actually on my new gaming rig the dpc latency averages exactly 1000 microseconds with 8, and though I suffer no performance issues, this bugs the living hell out of me, knowing I used to have 15!
Click to expand...
Click to collapse
I would like to add on to your post. Along with the reason you explained there is one more reason as windows 8 is programmed for giving max performance with the min power consumption, due to which at idle CPU tries to enter at low frequency stage and also if you have a very old system this issue arises as mentioned in the above post due to one more reason of HDD.
Windows 8 tries to keep alive threads running in background to save the power but due to CRC in the old HDD this loops the processor
Hey, I'm having problems sharing internet connected to VPN to my PS3. I've searched MS Answers forum and did come across this
http://answers.microsoft.com/en-us/...indows-8/4e56a425-c685-4ab2-9b23-72b1cab4557e
But I'd like to reduce the steps of doing it to a single click like in a form of VBS or BAT file, how do I do that? And why is Windows 8 behaving like this like that guy said.
Hi dudes, I'm having the same problem as this guy over here.
Everytime I boot up, I have to quickly press "win+D" to get into desktop mode. If not it just hangs at metro start screen and I can do nth about it except "ctrl+alt+del". It just freezes there. Using windows 8 pro. Had this prob since yesterday. It was okay when I installed system updates on 15 Nov up until yesterday. I didn't make any software/hardware installations/updates in between this period of time.
Hope someone can help me out here! Thanks!
kay_kiat88 said:
Hi dudes, I'm having the same problem as this guy over here.
Everytime I boot up, I have to quickly press "win+D" to get into desktop mode. If not it just hangs at metro start screen and I can do nth about it except "ctrl+alt+del". It just freezes there. Using windows 8 pro. Had this prob since yesterday. It was okay when I installed system updates on 15 Nov up until yesterday. I didn't make any software/hardware installations/updates in between this period of time.
Hope someone can help me out here! Thanks!
Click to expand...
Click to collapse
U need to refresh the system at secure boot
downloaderintruder said:
Hey, I'm having problems sharing internet connected to VPN to my PS3. I've searched MS Answers forum and did come across this
http://answers.microsoft.com/en-us/...indows-8/4e56a425-c685-4ab2-9b23-72b1cab4557e
But I'd like to reduce the steps of doing it to a single click like in a form of VBS or BAT file, how do I do that? And why is Windows 8 behaving like this like that guy said.
Click to expand...
Click to collapse
this issue was already reported by me to Microsoft developers team and they are working on it possibly with a update in December the new fix would be forced in your systems update
mean while if you wan't to create a vbs script or batch file go through these tutorials
http://www.neowin.net/forum/topic/438621-batch-file-to-run-vbs-on-startup/
http://www.programmingforums.org/post196761.html
http://social.technet.microsoft.com/Forums/da/ITCG/thread/1743a39f-3a25-4d01-aa5c-af32e8e7c0ff
I'm actually having a minor cosmetic issue: taskbar is set to autohide, but sometimes it just won't hide until I restart explorer. Toggling the autohide settings or unlocking and moving it around don't help.
link68759 said:
I'm actually having a minor cosmetic issue: taskbar is set to autohide, but sometimes it just won't hide until I restart explorer. Toggling the autohide settings or unlocking and moving it around don't help.
Click to expand...
Click to collapse
In the "good old days" applicaitons would often un-hide the Taskbar so their notification icons could show an updated status and they could ensure it would be seen. I think this method has fallen out of favor, but older applications that haven't been updated could still be sending the commands to the system to show the Taskbar. Is it possible that you have an older app in the notification area that's affecting the Taskbar as described?
Open Task Manager and Regedit.
++ on the Start Menu & select 'Exit Explorer'
or use services.msc to temporarily exit explorer by killing the service "explorer"
In Regedit, navigate to:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Streams\Desktop]
delete the value named 'Toolbars'.
In Task Manager, select 'File' -> 'New Task' -> type 'explorer' to restart
the shell.
If that doesn't do the trick, repeat deleting 'TaskbarWinXP' as well. in ur case it might be 'TaskbarWin8'
I've got a lot of old software but I haven't used any of it on my laptop. Something poorly coded may well be the issue, though this behavior is hardly exclusive to "old" software as windows 8 itself seems to actively embrace exactly this: by default the taskbar is auto hidden (this is not true of xp/vista/7) and if something isn't in the foreground and for whatever reason won't take focus, it will raise the taskbar and keep it raised until you click on said program in the taskbar.
I think it actually might be related to internet explorer and it trying to tell me that a download is finished, but gets stuck there. I'm going to see if it happens with IE running and nothing else before editing the registry.
OK I have a good question for you!
Enabled bitlocker on my C:\ drive. This killed the bootable recovery and also 8's ability to "refresh" without a DVD (it could not find the files needed).
How do I move the bootable recovery tools to the system partition? Will this fix the refresh problem? If not, how do I restore 8's ability to refresh without external media?
link68759 said:
OK I have a good question for you!
Enabled bitlocker on my C:\ drive. This killed the bootable recovery and also 8's ability to "refresh" without a DVD (it could not find the files needed).
How do I move the bootable recovery tools to the system partition? Will this fix the refresh problem? If not, how do I restore 8's ability to refresh without external media?
Click to expand...
Click to collapse
have u made any changes in hardware or the system software after enabling bitlocker or ur system is running in dual boot
I am sure for one thing mere copying the bootable recovery tools to the system partition won't help.
I am also running my hp laptop with windows 8 encrypted but I am not facing any of these issues.
please elaborate your issue
meanwhile as I understand this might help u http://technet.microsoft.com/en-us/library/cc771778(v=WS.10).aspx#BKMK_WhatIsRecovery
and http://technet.microsoft.com/en-us/library/ee523219(v=ws.10).aspx
these also implies to windows 8
shreshth89 said:
have u made any changes in hardware or the system software after enabling bitlocker or ur system is running in dual boot
I am sure for one thing mere copying the bootable recovery tools to the system partition won't help.
I am also running my hp laptop with windows 8 encrypted but I am not facing any of these issues.
please elaborate your issue
meanwhile as I understand this might help u http://technet.microsoft.com/en-us/library/cc771778(v=WS.10).aspx#BKMK_WhatIsRecovery
and http://technet.microsoft.com/en-us/library/ee523219(v=ws.10).aspx
these also implies to windows 8
Click to expand...
Click to collapse
I don't know how you're not having "this issue" since enabling bitlocker *forces* WinRE to be disabled, including the ability to refresh.
I disabled bitlocker because ReAgentc.exe refused to operate with bitlocker enabled. The only solution I could find was to format the HDD, recreate a bigger system partition, reinstall windows and do things from the fresh install. I suppose I could refresh my custom image from there, assuming it would even work for 8 (the instructions I found were for 7).
link68759 said:
I don't know how you're not having "this issue" since enabling bitlocker *forces* WinRE to be disabled, including the ability to refresh.
I disabled bitlocker because ReAgentc.exe refused to operate with bitlocker enabled. The only solution I could find was to format the HDD, recreate a bigger system partition, reinstall windows and do things from the fresh install. I suppose I could refresh my custom image from there, assuming it would even work for 8 (the instructions I found were for 7).
Click to expand...
Click to collapse
these also work for for 8 as I was told in training and specifically for 8 we are still waiting for the manuals
I can't access the windows app store in my wifi network which is secured by a proxy and i have to authenticate to browse. All desktop apps works well but not the windows app store. It asks for authentication bot when i give the username and password to it, it shows "your network proxy does not work with windows store contact your administrator". what should i do to access the microsoft app store.

[HOW TO] Install GNU/Linux on Samsung Galaxy Note 10.1 2014 (Updated 03/17)

#NOTE: For quick taste go to post#4. That mini-guide -for the time being- only works on Samsung's Kitkat. For Best Performance running Samsung's KitKat is recommended
Also (just so that to be clear), no matter which version of this guide that you are going to follow, you'd need at least 5GB of free Internal Storage.
INTRO
Since the advent of the Microsoft Surface Pro line we had a great "great-computer/mediocre-tablet" combo on one hand, and through the already running iPad line we had a "great-tablet/bad-computer" on the other hand.
One of the primary reasons to buy into the Note tablet line is because I always thought that it conveniently sandwiches itself between the above categories hopefully avoiding the pitfalls of both. Sadly the reality was a bit further than that and our tablet seems to have taken equally the bad and the good of the above lines. I set to ameliorate part of those faults, since I mostly lack coding expertise or indeed deep knowledge of the Linux kernel I created a ... patchy solution.
Sooo the following is a ... rather monumental guide/tutorial to set up Gui - Linux with acceptable performance on top of android in our devices. Since I'm running it "on top" it relies to the chroot method (it's been detailed in quite many posts). For simplicity's (and ... repeatability's) sake I'm using the "LinuxDeploy" app which can be found here (buy a beer to the creator, don't forget that he's practically giving away his software).
Ook, let me say right out of the bat that I could have had released a ready-made Linux image so that everybody could benefit instantly, or alternatively write a script to automate the process that I'm going to detail next.
Instead I decided against it, firstly because (as you will soon find out) this guide is a work in progress, so through exposing each individual step it can/would actually become better (hopefully through the help of more talented/knowledgeable individuals than I). Secondly many of the steps would most certainly break down, down the road (continuously changing software tend to do that to tutorials), yet since all/most steps would be exposed a simple tweak to them would save it...
Important Note: This particular Guide is tested to work on both KitKat and Lollipop (Samsung) Roms for P600. Even a slightly different setup may cause it to misbehave. So that's one more reason why I chose to expose the relevant steps (what/how they do). Hopefully slight tweaks to some of the steps would make Linux perfectly functional on all variants of Note tablet and their many differing roms.
PREPARATIONS
Let me move to the particulars then:
You'd definitely need root and a "Virtual Terminal" enabled kernel (I can't stress this enough), xposed framework/modules is optional (only needed for one work-around). I'm sure a mere Google search can tell you how to achieve the 1st and the 3rd requirement but the CONFIG_VT enabled kernel is a tougher nut to crack. Therefore I'm willing to make a list with VT_Enabled kernels for out tablet, for the time being I'll only be offering kernel based on Samsung Roms (many thanks to @xluco). Non-P600 guys should find an equivalent kernel on their own (or compile one for their own usage).
KitKat: http://forum.xda-developers.com/attachment.php?attachmentid=3686507 , reportedly Disabl0w's version works better
Lollipop: http://forum.xda-developers.com/attachment.php?attachmentid=3686508
Marshmallow: I'm willing to post a VT Enabled kernel here when (and if) our device reach nightly status on CM13.
BEWARE those kernels are for P600 (wifi version of Note 10.1 2014). I take no responsibility if you've bricked your device by flashing it to the wrong device/setup.
Additionally those apps would be needed:
a) Meefik's Busybox v1.24.1 (Download the apk and install it, once installed, do as follows: open the app -> tap "install" in the lower right corner -> OK)
b) LinuxDeploy v1.5.6 (Download the apk and install it, once installed, open the app -> press the "menu" button -> tap "settings" -> tap "update env" -> OK )
c) Linux Deploy's companion app (LinuxCanvas I named it)
d) Privilege Terminal (Terminal Emulator is more feature packed but for the purposes of this guide Privilege Terminal is preferable as you can paste content coming from HTML pages, directly to it)
e) Lastly, certain Configuration Files are needed (download and extract the contents to the root of your internal storage)
THE GUIDE
The guide is really made out of 11 simple steps. You can "blindly" follow them and you'd get a fully working image. Preferably, though, you'd also read the explanations of each step. I've included them because (as mentioned above) this guide is a work in progress. So making you privy to what each step does would hopefully lead to a better guide. Probably one with less steps and even more functionality. The explanation part would also help you debug a step if (for some reason) it didn't work correctly to your device.
So on we go:
1) Copy xorg.conf:
a) Open Privilege Terminal
b) Run:
Code:
su;
cp /data/media/0/Linux/res/xorg.conf /data/data/ru.meefik.linuxdeploy/files/share;
echo"";
Explanation:
The xorg.conf file is basically where input-output devices are mapped. I've modified it to support as many as 8 input devices as well as to support the S-Pen (w right click function!). If you want to add more devices, or for some reason your S-pen does not work and/or you prefer the S-pen button to work as middle click you can modify by navigating to Linux/res/xorg.conf (you can open it with any text editor). To find to which events your devices are mapped you have to run cat /proc/bus/input/devices in Terminal Emulator. From that you could see to which event you can map your S-Pen and/or the rest of your external devices. As it stands I have S-pen as event8 (the default in most roms) and my keyboard and mouse as 10 and 11 respectively (that's how they get mapped in my devices, but they may get mapped differently to yours).
Note: Apart from S-pen everything else doesn't *have to* be mapped precisely (even if your mouse is called "keyboard" it would still work"). Also as a general heads up please connect your devices after device boot as if you have them connected already (say through OTG connection) as the device boots, the handler numbering would be messed up (for example the mouse could be event5 and s-pen event10)
2) Create a Linux image
a) Open Linux Deploy
b) Navigate to properties (Arrow showing "down") and choose the following Configuration:
Use the Default option to all except:
To Distribution Suite: Wheezy
To Installation Path: change the "/storage/emulated" part to "/data/media" (everything else stays as is)
To Select components: Tick X server, untick VNC server
To Graphics subsystem: choose Framebufer
To GUI settings: choose DPI = 230 (or anything higher if it suits you) and untick Force Refresh
To Custom Mounts: Tick it
To Mount Points: Delete the extant mount points (select them -> press "menu" -> delete) and add the following:
/data/media/0
/mnt/media_rw/extSdCard
/mnt/media_rw/UsbDriveA
/mnt/media_rw/UsbDriveB
If you want to add support for more External devices you can add up to 4 more ( /mnt/media_rw/UsbDriveC - /mnt/media_rw/UsbDriveF )
c) Return to Properties' main menu and Tap Install (first selection)
d) Wait (quite a bit) until it reads "<<< install". It should read "processing triggers" on the line just before it, if not, reboot and follow step (c) again (re-install)​Explanation:
I was only able to make Debian and Ubuntu variants work with our device. In principle everything should (and can) work as well, but since I'm mostly accustomed to Debian's eco-system I never bothered to investigate. Similarly (from windows environments) only LXDE and XFCE reliably work (KDE and Gnome technically "work" with Debian too but they're ultra slow). For this instance I chose Debian Wheezy + LXDE due to GUI performance issues mostly, every other disto/window manager causes considerable lag in window placement. I used to use Debbian Jessie + XFCE, love XFCE's features (sessions, Window snap), but the ultra-slow window placement mostly killed the GUI experience that I was after. So I reverted to the less featured but lighter on resources LXDE.
Note: Our tablet's internal SDcard is/would be mounted to /mnt/0 when inside the chroot Linux environment ( similarly External SDcard -> /mnt/extSdCard , 1st external Storage -> /mnt/UsbDriveA , etc ). If you're on another device (not P600) running the command "mount" from Terminal is going to give you where in which paths your storage mounts to, in which case you'd have to change the mount points in LinuxDeploy accordingly.
3) After the linux image is created (Linux deploy says "<<< install") go to Linux's Shell:
a) Go back to Privilege Terminal
b) Run:
Code:
/data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy shell;
echo"";
Explanation:
It starts the Shell of the freshly installed image
3.5) This step is only relevant to those running Stock Samsung 5.1.1 rom. DO-NOT-RUN it if you're on any other version. Giving root permissions to the default user ("android"):
Run:
Code:
sed -i '/android/c\android:x:0:5000:x:/mnt/0/Linux/Home:/bin/bash' /etc/passwd;
echo"";
Explanation:
Due to complication with SELinux permission (from Android 5 and up most possibly), as a workaround I had to give root permissions to user "Android". See Issue "8" in Post #3 for more information.
4) Change Home folder's path:
Run the following commands:
Code:
usermod android -d /mnt/0/Linux/Home;
rm -rf /mnt/0/Linux/Home;
mkdir /mnt/0/Linux/Home;
cp -a /home/android/. /mnt/0/Linux/Home;
echo"";
Explanation:
Technically this step is optional but I would strongly advice against ignoring it as it allows an 1:1 communication between Android and Linux's user files. By choosing a folder that is visible by android file managers (/Linux/Home) it allows for the user to instantly manipulate the data he/she just created within Linux. For example a document file that is saved on (Linux) Desktop is easily visible by navigating to Linux/Home/Desktop or better yet it's automatically detected by the relevant app (for example a music app would "see" your music Folders, a video app your "Linux videos", etc). Additionally it uses the /sdcard partition which is close to 28GB in size, instead of the 4GB micro-partition that LinuxDeploy created (which is better used by the software that you're going to install there).
5) Apply basic HiDPI fixes:
Run:
Code:
cp /mnt/0/Linux/res/.gtkrc-2.0 /mnt/0/Linux/Home/;
echo"";
Explanation:
It solves basic issues that arise from the HiDPI environment of our devices. Things like CheckBoxes, ScrollBars, even Double Click behavior. The changes are only detectable on GTK2 software. Since all the software I've been using is based on GTK2, it is enough for me. However if you're using a GTK3 based application please by all means recommend of a way to make similar changes to GTK3 applications (I think equivalent -system wide- changes happen when one modifies the /etc/gtk-3.0/settings.ini file). Lastly if the dimensions/changes are not to your taste you can always try different ones by changing their numeric values on Linux/res/.gtkrc-2.0 file (editable by any text editor, beware it's a hidden file) and then rerun this step. What numeric value is controlling what, is rather straightforward due to the naming that it follows. So happy editing!
6) Enable GUI Repaint:
Run:
Code:
chmod +x /mnt/0/Linux/bin/logout;
echo"";
Explanation:
It fully enables the menu button within the LinuxCanvas app (it redraws the environment). I could bundle the script with my "LinuxCanvas" apps, but I wanted to make it modifiable (for example right now it kills the LXsession), but if you were to use a different Window manager you'd probably need to use a different command) and since my app creation powers are very (very!) basic, I simply exposed an internal part of my app. It can be found in "Linux/bin/logout". You can edit it with any text editor (again you'd have to rerun this step after editing is done).
7) Resize Windows Borders:
Run:
Code:
chmod +x /mnt/0/Linux/bin/resizeBorder; chmod +x /mnt/0/Linux/bin/revertBorder; /mnt/0/Linux/bin/resizeBorder;
echo"";
Explanation:
Another Fix needed due to the high DPI of our devices. It basically makes the borders of the windows that much thicker. Since it obviously makes the look of the environment less easy to the eyes I would welcome any work-around. Also you can run
Code:
/mnt/0/Linux/bin/revertBorder
(from within linuxdeploy's shell) to return the Windows borders to their initial size if you're so much bothered about the ... foul look (again I'd advice against it as it'd kill some of the ease of use of window placement/resize). If you want differently sized borders you can always edit the script (found in Linux/bin/resizeBorder) with the text editor of your choice. My current value is 10 pixels you can change it to whatever. Also you don't have to change it for every theme, just the one you're using. Again, I'm open to recommendations (for example what value do you think is better for usability?)
8) Fix Mouse Cursor size:
Run:
Code:
sed -i '/CursorThemeSize/c\iGtk/CursorThemeSize=58' /etc/xdg/lxsession/LXDE/desktop.conf;
echo"";
Explanation:
It makes the Cursor bigger. It doesn't always work. I have to investigate, but I can't be bothered since it rarely (ever) caused me any issues. Still I'd welcome it if someone is willing to investigate and see why it works only some of the times (it probably has to do with boot sequence/times).
9) Install basic Components:
Run the following:
Code:
apt-get update;
sudo -u android sudo apt-get install -y samba gvfs-bin gvfs-backends zip iceweasel xfce4-mixer dmz-cursor-theme gstreamer0.10-alsa;
echo"";
Explanation:
Though the above shell command we add some basic functionality to our Linux installation, like a Samba server (network places for the Windows guys), a browser (Iceweasel is called in Debian) and a virtual keyboard (very important for those using only the S-pen).
10) Exit:
Close Privilege Terminal (press "CLOSE" on the upper right of the app and then "OK")​Explanation:
We're better off to shut down this particular shell instance as it may mess up with the booting of our Linux image later
11) Start Linux:
a) Open "LinuxCanvas"
b) Press Volume Up, wait a bit and voila! (if it doesn't work the first time, press the "menu" button to repaint)​Explanation:
The App is included below this post. This is a veeery basic app (my app-creating prowess is close to zero) which acts as a companion to LinuxDeploy. LinuxDeploy was/is mostly created to fascilitate the XServer/VNC crowd, but the "Framebuffer" crowd has been left a bit in the cold. With as a result the "Framebuffer" functionality of LinuxDeploy to be quite basic (it only creates a black frame and that's it). So I added a bit more than that (it's the super-duper edition ). Orientation is locked, back, Escape buttons blocked (they cause issues). Also:
Volume up -> starts the chroot environment
Volume down -> kills it ("un-chroot")
Menu button -> "redraws" the graphical environment
And that's it. The caveat is of course (as a companion app to LinuxDeploy) that it is heavily dependent to LinuxDeploy, so any change that the developers would choose to make would -predictably- break functionality, so please PM me if/when that will happen. Also I'm a very un-creative person when it comes to App-creation so I would be veeery happy if another user was to take this task from me (someone who -hopefully- would make a much better featured and beautiful companion app), so updating this guide would be the only task that would remain to me.
As you may be able to see, by (as of) now you're good to go and you can fully work on your brand new Desktop environment. However I would like to add some less essential tips/fixes on my second post as well as a list with the remaining issues and workarounds to them (in my third post).
In my first post I described how you can get a relatively well performing Desktop envrironment working on our Samsung Note tablets. This post acts as a companion. Most of the tips here are either completely optional or easy to figure out. Still they may seem useful to many users so I include them here anyhow. As always any recommendations to improve on them or any additional tips would be well considered.
1) DPI Tips and seting up Volume Control :
a) Right click (S-pen button press) on Start menu -> Panel Settings -> Height: 70 and Icon: 70 -> Panel Applets (tab) -> Application Launch Bar (the first one) -> Edit -> Florence (extend Universal Access) -> Add -> Close -> Application Launch Bar (you have to scroll down for this one) -> Edit -> Mixer (extend Sound & Video) -> Add -> Close -> Close
b) LXDE Button -> Preferences -> OpenBox Configuration Manager -> Appearance -> change all to 13-15 (except Active/Inactive on-screen Display: 11-12 ) -> Close
c) File Manager (Black Icon) -> Edit -> Preferences -> Display (Tab) -> Size of Big Icons (96), Size of Small Icons (48), Size of Thumbnails (256), Size of Side Pane Icons (48) -> Close
d) Click the gear looking icon (in the lower-right part of the screen) -> Select Controls... -> Tick Speaker Digital -> Close -> Quit​Explanation:
Those are easy-to-figure but I think essential changes that need to be done so that to make the LXDE enironment more functional on our HiDpi (and often keyboardless) screen. I would be glad to add more HiDPI changes accesible through LXDE's GUI (that you'd think that may be important).
2) If you want Linux's user data to be readable/writable/cacheable by/from your android apps:
Run the following from Privilege Terminal:
Code:
su;
find /data/media/0/Linux/Home -type d -exec chmod 777 {} \;
find /data/media/0/Linux/Home -type f -exec chmod 777 {} \;
echo"";
Note: This step has to be re-run if for whatever reason some of your Linux user-files are -again- not accessible from Android.​Explanation:
While the folder Linux/Home contains all your personal data from Linux it's only accessible from within Linux. That's an obvious security feature, but it may also affect the practicality of running Desktop Linux side by side with Android. By allowing permissions to all "your" files they can be literally read by everyone/everything which also includes your android Apps (for example your edited photos could be "seen" from within your android gallery) which can be extremely useful to many, as well as an easy way to send/save files from Android to Linux, too.
3) In case you want to remove android's mouse cursor (for more experienced users, as inability to follow the steps will -well softbrick your device. BEWARE! )
a) If you're using Windows (if not equivalent steps have to be followed on your mac/linux) unzip the adb folder (included to the bottom of this post) to C:\ and install the samsung drivers (if you haven't already): http://developer.samsung.com/technical-doc/view.do?v=T000000117
b) Reboot your tablet to recovery and connect it to your PC
c) mount /system (from mounts and storage menu or similar). Disable MTP too, if applicable
d) On your PC navigate to C:\adb from command line
e) run:
Code:
adb pull /system/framework/framework-res.apk
f) Navigate to C:\adb, create a copy of framework-res.apk and rename it to framework-res.bak
g) Open the framework-res.apk (the original) with WinRar (or similar) and navigate to res\drawable-sw800dp-xhdpi or res\drawable-xhdpi-v4 and rename pointer_arrow.png to pointer_arrow.bak . Close Winrar
h) Back to the command line run the following
Code:
adb push framework-res.apk /system/framework
adb push framework-res.bak /system/framework
adb shell chmod 0755 /system/framework/framework-res.apk
adb reboot
After having followed the above guide succesfully you can restore the mouse cursor and then kill it again as easily as described below (those commands reboot the device, so beware)
To restore the cursor (after having it killed) in Privilege Terminal run:
Code:
su;
mount -o rw,remount /system; mv /system/framework/framework-res.apk /system/framework/framework-res ; mv /system/framework/framework-res.bak /system/framework/framework-res.apk ; chmod 0755 /system/framework/framework-res.apk; reboot;
echo"";
To kill the cursor (after having it restored) in Privilege Terminal run:
Code:
su;
mount -o rw,remount /system; mv /system/framework/framework-res.apk /system/framework/framework-res.bak ; mv /system/framework/framework-res /system/framework/framework-res.apk; chmod 0755 /system/framework/framework-res.apk; reboot;
echo"";
Explanation:
The above is to kill android's mouse cursor so that when you connect a mouse you won't have two mouse cursors on-screen. It would have been a far less dangerous endeavor if I was to include a flashable zip file doing those changes, but I much prefer to expose the way by which you can kill android's cursor, so that any user would be able to do the same on any other version of android that he or she is willing to run Linux on. Also as a bonus the user is just "one" shell command away from reverting his mouser cursor. Obviously any bricked devices resulted from this method is the user's responsibility and the user's alone (however it's a very recoverable situation)
4) Tips to make browsing easier when you'd want to use the Pen Exclusively:
a) Open the browser (Iceweasel) while in Linux
b) Type on the URL bar -> about:config-> "I'll be careful, I promise"
c) Search for: browser.search.showOneOffButtons . Change its Value from true to false (double click on it)
d) go to: ("hamburger" button ->)preferences -> privacy (tab) -> Iceweasel will: -> Use Custom settings for history -> Untick Remember search and form history
e) Right click on the search bar and untick "show suggestions"
f) Restart Iceweasel​Explanation:
It kills Firefox/Iceweasel's fancy search so typing on the search bar when using pen/virtual keyboard is twice as fast. When I found out about that it completely transformed my usage patters, now I often "quick boot" to Linux if I want to browse to a web-site that android's mobile browser refuse to have rendered. Oh BTW, if you followed the "DPI Tips" (tip No1) the virtual keyboard (florence) can be found to the left of the "start button" (for quick reference).
5) In case you want a multilanguage keyboard:
a) Enter LinuxDeploy's shell by running the following on Privilege Terminal:
Code:
su;
/data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy shell;
echo"";
b) Run the following command. Where xx your choice of language: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes (only 639-1 codes are applicable)
Code:
echo 'setxkbmap -option grp:ctrl_shift_toggle "us,[B]xx[/B]"' >> /etc/xdg/lxsession/LXDE/autostart
c) when back in Linux/LXDE do the following:
Right click on Start menu -> Add/Remove Panel Items -> Add -> Keyboard Layout Switcher -> Add -> Close​Explanation:
It allows to change keyboard's layouts in both your virtual keyboard (by tapping the flag icon) and physical keyboard (by pressing ctrl+shift). I have not tried any other key combinations other than ctrl+shift so I don't know how well they'll work but you're welcome to try/modify (just replace the ctrl_shift part of the command with any other combination, as you're following the steps).
6) Kernel level changes (Please read the expanation, those changes may well cause instability! BEWARE!):
To achieve those you'd need the Donate version of TricksterMod (much recommended app to own)
Ultra Aggressive OOM Values:
a) You can access them by navigating to General (tab) -> MinFree Control while in Tricker Mod
b) When there please save the default values ( tap on "untitled", then "save" and name it default -> ok )
c) Then proceed to change the values as follows:
Foreground = 384
Visible = 412
Secondary Server = 480
Hidden App = 512
Content Provider= 640
Empty App = 768
d) Again save them as "Aggressive" ( tap on "untitled", then "save" and name it aggressive -> ok )
e) Tap on the tick (that has just showed up) to validate the changes​ Undervolting
a) If your kernel does not support it you won't find it. If it does, you'd find it by choosing the "Specific" tab (MTU Voltages).
b) Similarly as above please save the default values ( tap on "untitled", then "save" and name it default -> ok )
c) Proceed to change the values. I won't include any here as every SoC is different, but typically the greatest clock the greatest undervolt is achievable. As an example I started by lowering my volts by around 100 mvolts in my highest clocks, and progressively less in my lower clocks (for example 1900Mhz was lower by 125 mvolts, 1800Mhz by 100mvolts, etc). You (the user) are the the only one who can find the best volts for your device (low yet stable). If your device starts to get unstable (restarts without notice) you'd have to choose higher volts (you went too low), etc.
d) Try different volt levels (Tap on the tick on each of your attemps)
e) When you found stable enough (hopefully low enough) voltages, save them ( tap on "untitled", then "save" and name it low -> ok )​ As an add-on you can "tell" TrickerMod to boot with the settings you just chose (menu button -> tick on "Kernel Settings"). Else you'd have to manually choose "your profiles" with every reboot.​Explanation:
I struggled very much before deciding to add the above section. I know it may cause instability to many users (the undervolt) and/or significantly lower the capacity of the device to keep apps on system's RAM (due to the high OOM values) but eventually I decided against not including it. The reason is that Linux/Desktop usage can be characteristically RAM and battery hungry. That makes the above tip(s) less of an often uneeded option and more of a necessity, especially to those willing to make heavy use of the Desktop environment. Basically what running a whole OS via chroot means is that you'd need most of the resources of the device. That can only be done by using uncharacteristically high "killing" thresholds.
The OOM values -above- basically mean that the device would kill significantly more background processes than it is expected. In fact I've experimented with many values and the above are the only ones that I've found to (still) be acceptably "low" yet allowing seamless use of the chroot/Linux environment. I could go lower but I start to see hits in performance. Also keep in mind that those values are also dependant on the rom one uses. There are other Roms that "react" better on low ram envrironments than mine. So -obviously- those values are not panacea, but I would be surprised if significantly lower values were not to harm the "Linux experience" no matter the rom.
So -yeah- background processes would be killed left and right. The upside is more RAM for Linux use, less battery leaking from background processes and surprisingly better responsiveness in Android too. In fact that's the other reason why I've kept those values, I've never seen my tablet being as responsive than after adopting those values.Still depending on your usage patterns it may start killing some important background process of yours, in which case I'd advice lowering those values (but not way too much as it would impact Linux performance).
For undervolting (if you can do it) the story is very similar. It may well cause a more unstable system, but it greatly helps with performance and battery life. On Linux there are processes that are characteristically harder to the Processor than most of anything that can be found to a "consumption OS" like Android. This means that the high clocks of our device are used much more frequently, leading to a very much lower battery life, but worse of all overheating which leads to throttling (low performance) and even possibly lowers the SoC's lifespan. Undervolting sets to aleviate those issue. After undervolting my processor I'm getting much better *sustained* performance and while on Linux quite better battery life too, about 30-40 minutes more! I like to say that undervolting is the "overclocking of mobiles", as it achieves the same end-result by aleviating or -even- eliminating throttling, one of the most important causes of low performance on mobiles.
7) Kill multi-window before starting Linux:
Well that's very straight forward, just toggle multiwindow off on quick settings.​
Explanation: Ram (as explained above) is a precious commodity for "serious" Desktop work, so about ~100 MB of RAM is being freed in that way. But most importantly it disallows accidental activation of the multi-window panel which is a quite frustrating experience when it happens while "Desktoping".
This concludes my second post. The following (and final) one is all about the things that still have to be done (where I'd need you -guys- more) and also some work-arounds that I found to those.
With two posts above us, this guide is mostly concluded. Still it may probably be worth the while to read a bit more as in here I include a few workarounds. Which while they're not true solutions in any shape or form, they may make the experience juuust seamless enough...
BUGS/ISSUES
1) No Hardware Acceleration (Biggest)
Explanation:
This is pretty much the elephant in the room. Without a solution to this everything written here is/would be a waste for many guys. Especially those willing to use rendering software, or generally care about media consumption/creation. Unfortunately this is also (by far) the toughest nut to crack. It most probably requires knowledge far greater than my own (even though I must admit that I never seriously considered "solving" this issue). In fact it is here that I could use as much help as possible. If we solve this, suddenly our tablet is viable as a laptop replacement for most uses ... In sort: Solution pending, no workaround in sight, zip, nothing ... it's the Chuck Norris of our problems
2) No ability to redraw (Biggie)
Explanation:
Another big issue. Basically if you lose focus (say press home by mistake) you cannot regain it. Every process continues on the background, of course, your picture is lost forever though, and it's mostly non-recoverable. In the workaround section I have posted the very hacky solution that I'm using (which is no way, shape or form a true solution). This issue's importance is somewhat tempered -though- by the fact that our tablet already operates in a low-Ram environment so putting the chroot/Linux environment to the background for a bit would probably cause a lot of its processes to be eventually killed by Android's ram manager as it would try to regain Ram for the foreground app. Also it's probably easier to solve but -again- it requires knowledge beyond my own. The issue has to do with Android and chroot/Linux "fighting" for the framebuffer's exclusivity. Once Android gains it, it never gives it back (selfish dastard ).
3) Devices cannot be detected "on-the-fly"
Explanation:
A big issue still, but a lesser one than the above two. Again it has to do with the GNU/Linux lacking some kind of daemon constantly "sweeping the place" so that to detect changes. I have not looked deeply in this issue as the workaround has been enough for me. Maybe not that hard of an issue to be solved. Again I'd welcome any recommendation(s).
4) No touch support:
Explanation:
This is a big issue at first glance, I happen to think that it is one of the smallest ones, especially if you think about it: GNU/Linux GUI is/was created for a highly accurate pointing device and the finger(s) is certainly not it. Similarly right click is very hard to be performed by hand (probably via a gesture) with much accuracy. Both of those issues are solved by the pointing device we already own, the s-pen. I find the pen to be faster to a HiDPI Linux environment simply because you make less mistakes with it. Also it supports hovering, so it simulates a mouse pointer on-the-go, much better than a hand. Still touch support would help with typing on the virtual keyboard (it would have been faster due to multi-touch) and scrolling (again multi-touching). It's due to those issues that I include the lack of touch support as an issue. Again I'd welcome it if anyone was to come with (any) ideas regarding (adding) touch support. BTW simply mapping the relevant event on xorg.cong doesn't work, don't know why.
5) Pressing Middle mouse Button returns to Home (thus kills the picture)
Explanation:
It's connected to problem No2. This is more of an annoyance (though) than a true issue as pressing the middle button is not of much use on GNU/Linux's GUI environments. Still I'm using a workaround (posted below) that completely eliminates this issue (sadly it needs xposed).
6) No native way to control brightness (there's probably a solution, never bothered to investigate)
Explanation:
Again mostly an annoyance, as there are alternative ways to control those. A work-around is posted below
7) HiDPI is not well-supported by a lot of Linux's Software.
Explanation:
Depending on your kind of use you may find yourself facing with a software that does not scale well to the ultra-high resolution of our tablets. That would mean veeery small GUI elements and an almost inability to use it. Thankfully most have workarounds (to some it is in-built, to others it requires the installation of some HiDPI theme, to others yet editing config files would do the trick). I regard it less of a problem that it initially seems because by now many/most small laptops are offering a HiDPI screen with as a result forcing most Linux Software maintainers to get by the times and either fix the issue with their particular software, or at least offer a work-around. Obviously I'm not going to post any of those here as the list would be non-exhaustive. If someone wants to create a post (and maintain it) with HiDPI workarounds for many/most of the popular software I'd be glad to link it here (as a work-around)
8) SUDO cannot be be used by regular users on Samsung's Lollipop
Explanation:
Due to changes in SeLinux policy implemented from Android 5 and on permission is denied when a regular use is trying to use the SUDO command
WORKAROUNDS:
To Issue 2) Pressing the menu button. It re-draws the LXSession. The caveat is that you lose all your progress (it's a sort of a "soft-reboot").
To Issue 3) Input devices are detected with a simple redraw (pressing the menu button), but for external storage you have to wait a bit (around 10 seconds after you've connected it) and *then* redraw
To Issue 5) The solution to that is hacky (as it needs xposed) but it works: You'd need Xposed Additions Pro to disable home while on LinuxCanvas App, plus a gesture to get back home (you do that using the gesture navigation plugin)
To Issue 6) You can control brightness through the notification center as you would in any other app.
To Issue 8) Give root permissions to chroot's main user ("android"). Unfortunately that's an obvious security concern and I'm feeling quite uneasy to have to do that. I'd feel much better if this permission issue would be resolved.
FEATURES THAT I HAVEN'T CHECKED:
1) External devices apart from External Storage, Mice and Keyboards.
2) Bluetooth File transfer
3) Cameras
4) GPS
5) IrDA
Explanation:
The above are all tablet functionality that I have not checked.
If I was to venture a guess I would say that they won't work "out of the box", but everyone is free to check. I'm sure there's some workaround to let them work (at least partly), but I had no need of them so I have not investigated further.
INSTEAD OF CONCLUSION:
With the guide concluded I would like to write (instead of a conclusion) the reason that I chose to "run" a desktop environment as above (chroot with the GUI rendered on Android's framebuffer). It's obviously neither the easiest to setup (running the GUI on top of an android-bornt Xserver is far easier to set-up, 3 steps, literally) nor the most efficient (a dual boot setup would be the ideal as far as efficient use of the tablet's resources go).
Well let me "combat" the above arguments one by one. Firstly choosing to use the android's Framebuffer as the renderer: Obviously it's hard to setup at it needs a "Virtual Terminal" enabled kernel (not easy to be found for those who are not into kernel compiling), but, maybe most importantly, it disallows of an easy way to change the resolution (it uses the screen's native resolution) leading to HiDPI issues.
Well, the reason to render on the Framebuffer instead of an Xserver app (like Xserver XSDL) is ... frankly responsiveness. Rendering directly to the framebuffer bypasses all the "lag" caused by the android implementation running beneath. The greatest example is typing responsiveness. Typing on our Note (using a phtsical keyboard), as you may have found out, is a tedious process. There's a very visible latency which causes constant errors when fast typing. This is completely solved by directly rendering on the Framebuffer (hence directly taking input events from kernel events, bypassing Android's stack). For a guy who types a lot, the difference is day and night, it finally turned my Android Tablet into a work horse. Of course the great increase in responsiveness carries over to the rest of the GUI as well.
Let me, then, tackle the second source of scepticism to the solution that I recommended in here. To many a true dual-boot is the holy grail of their idea of how/what an android tablet doubling as a productivity machine is. To me it's not, I've bought an android tablet not because I want a Linux laptop. In fact I already have one. No, I bought it *because of* android and having to "kill" it so that to boot my "productive" environment doesn't really make any sense to me. Sure I can always boot back to Android, but actually most people are not into distinct "productivity" and/or "consuming" modes. In fact most of my usage patterns are all over the place. For example I'm writing something for my paper, but then I want to carefully study another paper, heck I may want to watch a movie in the middle of all this. Sure I can do those two on Linux, but what's the point if I have a far more capable "content consumption" OS lying just beneath? No, my ideal mobile machine is one that produces in the best way possible but one that also lets me consume information in the best way possible.
I bought a tablet *because* I want to consume information much more efficently than what my laptop/PC would had allowed me to. I want to use the "PocketBook" app to read and MxPlayer to watch a movie from my NAS collection, but then I also want to get back to my fully featured IDE. A dual boot absolutely kills the flow (having to constantly reboot). In fact Microsoft's vision in this (Project Continuum) is I think ideal. Still Project Continuum is far from being practical (for the time being) and it may never become, simply because Developers may not support it, so the next best thing is to have my "Productiviy OS" and "Consumption OS" side-by-side in fact that is very much the reason that I've included "step 4" to my guide as well as the "redraw" option. I think it gives flight to the experience (having different "scopes" of experience).
THANKS TO:
Pretty much to everyone from the Android scene that let us enjoy such high quality experience via rooting, kernel modifications, etc. People like @Chainfire, @rovo89 (and many, many others) are indispensable for their services, it goes without saying.
Similarly thanks to everyone from the Open Source community and in particular the Linux Kernel, starting from Linus Torvalds all the way down to the mere user who's recommending a fix. And of course to the guys developing the software running on the Linux kernel (without it, it would have been useless to most).
Also thanks to @xluco for providing a feature-packed (and lately very stable) kernel for me to play with.
Oh and thanks to you guys, hopefully helping to fix (on the longer or shorter run) this mess of a guide. *Any* input would be much appeciated.
OK. CYa. I'm signing off (pheewwww)
Mini-Guide
INTRO
While it kind of saddens me since I've tried (and I think succeeded) to make the guide as simple as possible all the while explaining the steps, the low interest to it lead me to decide to post also post a quick guide (instead of a full guide) that makes no use of shell commands.
There are good news and bad news due to this. The good news is that the guide has contracted further yet its end result really does give a quick taste of well running Linux on our tablet. To sweeten the deal the guide posted in this post gives a quick taste to most devices running a VT (virtual terminal) enabled kernel, no matter the brand and/or Android version.
The bad news is that due to the little interest expressed in here and my extreme lack of time most bugs and annoyances would most probably remain unsolved ... sadly. In no way or shape does that mean that I'm discontinuing support, just that I'll be lukewarm about it and I mostly expect from you / the users to find more workarounds / solutions and hopefully post them here...
Anyway on we go.
PREPARATIONS
Follow the Preparation Section from the First post of this thread. Steps (d) and (e) are not needed, so you can leave those out.
Additionally you'd need to download and place the following two files accordingly:
a) Config Files (you extract the contents to the root directory of your tablet's internal storage, don't change the directory tree)
b) Linux Image (you simply place it to the root directory of the internal storage)
THE "MINI"-GUIDE
For starters make sure that you have followed the "Preparations" Section Exactly. One mistake is enough to make this guide not to work. So without further ado:
1) Open LinuxCanvas and grant it root access (if asked)
2) Create a Linux image
a) Open LinuxDeploy
b) Tap the "Back" Arrow in the upper left corner of the app
c) Delete the extant profile ("Garbage Bin" Icon -> OK)
d) Import the downloaded Profile (3-dot icon -> Import -> OK)
e) Double-tap to the imported profile (its name is "linux")
f) Navigate to properties (Arrow showing "down") and Tap "Install" -> "OK"
g) Be patient. When it's done it will read " >>>install"​3) Start Linux:
a) Go back to "LinuxCanvas"
b) Press Volume Up, wait a bit and voila! (if it doesn't work the first time, press the "menu" button to repaint)​
...and that's it (really). If you want to know what you get by following this guide (instead of the full one), the answer is "basically everything from the first post plus the first step from the second post". Which means that if you want the full deal you *still* have to follow Posts #2 and #3 (workarounds), but of course it's completely up to you.
Again, report any issues, annoyances or even workarounds that you may have found. I'm counting on them to make the guide better.
Cheers!
Great Work Man ....
@Stevethegreat Great Work Man , it's just amazing ... but unfortunately , in Iran , I can't download from the Linux Deploy's Server ... is there anyway I could get the Image to do the Process ( I'm not that lazy ) Or even the ready image to try booting on my SM-P601 ( mybe a better Idea ) ? ... if there's some way , I'll work on the performance a bit ... also , maybe we can get the boot script used in my ARM-UEFI to get it sooner ... Also I have an idea that your ISO size can tell me if it's possible ( Dual Boot , I mean , like what MultiROM does , but much nicer and faster without the Android booted like a single ROM ) ... Great thanks for your effort ...
With Best Wishes
Hitman1376​
I have to wonder if this will work for other Note devices. (for instance I have the note 3)
I'll give it a shot, and the changes I make to obviously match my device, I'll post here.
Thanks for this mate, well done
Sweet. I will try when I have time
Sent from my SM-P600 using Tapatalk
kevp75 said:
I have to wonder if this will work for other Note devices. (for instance I have the note 3)
I'll give it a shot, and the changes I make to obviously match my device, I'll post here.
Thanks for this mate, well done
Click to expand...
Click to collapse
Mate , It needs a Kernel with VT Support , don't forget to have one .... also with " Frame Buff " enabled , it's better .... Good Luck
With Best Wishes
Hitman1376​
kevp75 said:
I have to wonder if this will work for other Note devices. (for instance I have the note 3)
I'll give it a shot, and the changes I make to obviously match my device, I'll post here.
Thanks for this mate, well done
Click to expand...
Click to collapse
It will, most probably without much/any tweaks to the individual steps as Note 3 is very similar hardware wise.
But I have to warn you. Firstly, you'd need a CONFIG_VT enabled kernel. That's fairly easy to get from Note3's kernel guys (it's just an extra option to enable). If they are not willing to provide you with one such kernel, you'd have to wait until I'd find the time to write a guide on how to create one from the sources.
Secondly, you'd have to be much more agressive with your DPI settings as a Note 3 screen is way smaller than our tablet's. Of course you can always opt to work on an external screen, in which case you'd have to be much more restrained with the settings that control the dpi/size of the elements (by contrast).
hitman1376 said:
@Stevethegreat Great Work Man , it's just amazing ... but unfortunately , in Iran , I can't download from the Linux Deploy's Server ... is there anyway I could get the Image to do the Process ( I'm not that lazy ) Or even the ready image to try booting on my SM-P601 ( mybe a better Idea ) ? ... if there's some way , I'll work on the performance a bit ... also , maybe we can get the boot script used in my ARM-UEFI to get it sooner ... Also I have an idea that your ISO size can tell me if it's possible ( Dual Boot , I mean , like what MultiROM does , but much nicer and faster without the Android booted like a single ROM ) ... Great thanks for your effort ...
With Best Wishes
Hitman1376​
Click to expand...
Click to collapse
Hey, LinuxDeploy offers a way to use different servers than the Russian ones. Also you can fiddle with the DNS server options (maybe there's a DNS server in your country/provider that resolves the Russian address).
edit: Oh BTW (to the second part of your past). While I'd welcome anyone at all working on bringing truly native linux (in the form of dual-booting) I'm not too sure of it's usefulness. Still you're free to use parts of my guide towards that goal (if that's what you wish). You can read the final part of my guide ("Instead of Conclusion") to see why I'm not that interested to a true dual-boot.
YYYESSSS!!!!
http://screencloud.net/v/gz6h
I'll let you know how I make out with this! Man, it'd be great to get ubu-touch running on it...
kevp75 said:
YYYESSSS!!!!
http://screencloud.net/v/gz6h
I'll let you know how I make out with this! Man, it'd be great to get ubu-touch running on it...
Click to expand...
Click to collapse
Yeah , that's enough. All it takes now is to see whether my step will work as is. If not I'm sure small tweaks specific to your device will make them work (like changing some of the numeric values in xorg.conf and/or the other files). Keep us posted
Stevethegreat said:
Hey, LinuxDeploy offers a way to use different servers than the Russian ones. Also you can fiddle with the DNS server options (maybe there's a DNS server in your country/provider that resolves the Russian address).
edit: Oh BTW (to the second part of your past). While I'd welcome anyone at all working on bringing truly native linux (in the form of dual-booting) I'm not too sure of it's usefulness. Still you're free to use parts of my guide towards that goal (if that's what you wish). You can read the final part of my guide ("Instead of Conclusion") to see why I'm not that interested to a true dual-boot.
Click to expand...
Click to collapse
Sure ... thank in deed ... I'll take a look but I don't think it's possible cuz the servers were unreachable ( I tried almost all of them )
... God damn those useless guys who do the web infiltration ... why a Linux containing server should get filtrated ? ...
brilliant guide mate theres a new version of my VT enabled kernel here btw http://d-h.st/fr1s
xluco said:
brilliant guide mate theres a new version of my VT enabled kernel here btw http://d-h.st/fr1s
Click to expand...
Click to collapse
Yeah thanks. I made sure to update the OP :good:
Stevethegreat said:
Yeah thanks. I made sure to update the OP :good:
Click to expand...
Click to collapse
Here's the stock 5.1.1 kernel for the P600 with VT enabled, platform.xml fix for external stoarge and chainfire's modified sepolicy for rooting without disabling SELinux.
http://d-h.st/0ImD
Edit: it takes FOREVER to boot, so be patient and ignore the seandroid notice!
xluco said:
Here's the stock 5.1.1 kernel for the P600 with VT enabled, platform.xml fix for external stoarge and chainfire's modified sepolicy for rooting without disabling SELinux.
http://d-h.st/0ImD
Edit: it takes FOREVER to boot, so be patient and ignore the seandroid notice!
Click to expand...
Click to collapse
Thank you very much indeed! I've made some attempts to compile on my own, but it wouldn't boot properly (it would boot into Android and after a while reboot).
I'll now start working on porting my guide. Much appreciated!
So...
Followed to a T
Results: Now have a nice lightweight desktop on my phone
Nice job on the tutorial mate!
Sound problem.
Stevethegreat said:
6) No native way to control sound and/or brightness (there's probably a solution, never bothered to investigate)
Click to expand...
Click to collapse
A possible solution to your sound issue, but it is dependent upon your Linux distribution in use:
Most newer distros of Linux use Pulse Audio for sound. This will not work as you need dbus, udevd, and a few other background processes running which are not functioning properly (or at all) in LinuxDeploy. A work around for this that I have successfully used in the past with LinuxDeploy on a Motorola Flipside was to download ALSA in your Linux distro. In my case it was Debian so I followed these steps:
1. Using the aptitude package manager, I purged all PulseAudio.
2. Using the aptitude package manager, I installed all the alsa tools and libraries.
Be sure to get the Alsa mixer.
3. When I logged in, I could, as root, bring up the alsa mixer in the terminal (eventually I mapped it to a shortcut on the desktop), and once open I could adjust the sound there. Note, you have to turn on an output device in the mixer, such as the SPK_HP or BT_SPK and then set the volume. I usually would start a sound file playing, like music, and then enter into the mixer and adjust to satisfaction.
(NOTE: these are steps, not commands, because your Linux distro or version thereof may differ.)
One problem that I had there before was that the Android system, in an effort to preserve order, would turn off the output device channel I selected after there was no sound coming out of it. E.g. the song ended, then Android would set the SPK_HP back to 0 or mute. SO to avoid that, you need to adjust the permissions of the sound card with chmod and chown to prevent Android from touching it until you are done. You can use LinuxDeploy's start/stop script options to allow you to create scripts to "steal the device" and "give it back" when you start/stop. Or you can simply keep the mixer handy and set the volume/output device every time you play a sound file. I found in practice that I didn't use the sound too much, but your mileage may vary.
-AlaskaLinuxUser
kevp75 said:
So...
Followed to a T
Results: Now have a nice lightweight desktop on my phone
Nice job on the tutorial mate!
Click to expand...
Click to collapse
Glad to hear!
Still there are bugs to be solved, I pray to have them solved (with the help of others hopefully), so keep yourself tuned.
I have to ask though: Is everything working OK? What about the s-pen? Also is the DPI suitable to your phone, or did you have to play with it? (changing the numeric values in some of my files?).
Thanks for trying to out my guide.
Cheers.
is this tested on 5.1.1?

Start up is very long .. any help .. ?? win10pro

before saying your old laptop is the problem ..
i am willing to tell you that the windows 10 pro ..
and after installing the win 10 pro every thing ..
works with out any problems ..
but I don't know what is happening after days or weeks ..
and maybe after installing main programs like office 2019 ..
the laptop is very slow including the startup ..
when I think of turning on the laptop ..
when i remember the slowness i think again of doing that ..
if you helped you have done alot ..
Sent from my ANE-LX1 using Tapatalk
fantom9625 said:
before saying your old laptop is the problem ..
i am willing to tell you that the windows 10 pro ..
and after installing the win 10 pro every thing ..
works with out any problems ..
but I don't know what is happening after days or weeks ..
and maybe after installing main programs like office 2019 ..
the laptop is very slow including the startup ..
when I think of turning on the laptop ..
when i remember the slowness i think again of doing that ..
if you helped you have done alot ..
Sent from my ANE-LX1 using Tapatalk
Click to expand...
Click to collapse
could you give us more info on your laptop ? knowing your hardware and what you installed would be good starting points
moneshaq said:
could you give us more info on your laptop ? knowing your hardware and what you installed would be good starting points
Click to expand...
Click to collapse
first thank you for your attention ..
second i bought the laptop more than 10 years ago ..
during the using it in maybe 2 or 3 years ago ..
i noticed a very slow and hanging alot ..
i searched how to solve that problem ..
and ended in upgrading the ram from 3 gigas to 8 gigas ..
abd i changed the hdd to 128 giga ssd ..
the operating system is win 10 pro 64 bit ..
is that enough .. ?
Sent from my ANE-LX1 using Tapatalk
Great Windows 10
i'm using windows 10 for 3 years and I'm surprising because I used mac but windows it's great and I don't miss my old mac
remove some startup programs. Here is a guide:
https://www.howtogeek.com/74523/how-to-disable-startup-programs-in-windows/
kouseralamin said:
remove some startup programs. Here is a guide:
https://www.howtogeek.com/74523/how-to-disable-startup-programs-in-windows/
Click to expand...
Click to collapse
Hi... just to say...
In adition to this startup:
- try to purge cache memory and old install data with Microsoft disk cleanup integrated in Windows 10 (and select system files aswell) - click search button and type disk clean , it will automatically find the program, start up program i wait till finishes up
- you might get a look for problems in Computer managment (right click on START menu / Computer managment / look for TASK SCHEDULER and delete some tasks there that runs on startup)
- you might take a look on EVENT VIEWER (right click on START menu / EVENT VIEWER / then look for WINDOWS LOGS/APLICATION and /SYSTEM for errors - some errors are fixable some require admins / comp. servicers)
- cheap solution is downloading a program called ADVANCED SYSTEM CARE and purge automatically (but note that this programs "ALL IN ONE CLEANERS" might damage in some occasion OS files and updates, and therefore render it useless - then new fresh install is imminent - WORST CASE SCENARIO is boot loop (black screen, windows logo and trying to fix windows message going and going ...))
Hope that anything here would help...
If works hit thanks :good:
thanks all for your replies ..
i am wondering why after installing microsoft office 2019 the problem began ..
when I formated the win 10 pro ..
is very fast .. right click on desk top and select refresh it refreshs very fast ..
no closing eyes ..
like thunder or spoting a ghost ..
i mean the laptop is very fast ..
but after installing the office its like ..
changing a fast car to a turtle [emoji217] ..
the matter is very bad ..
..
Sent from my ANE-LX1 using Tapatalk
fantom9625 said:
thanks all for your replies ..
but after installing the office its like ..
changing a fast car to a turtle [emoji217] ..
the matter is very bad ..
Click to expand...
Click to collapse
It's normal for installed programs to impact on device startup and overall performance. You just have to maintain them properly, like cleaning internet cache and rubbish , old files etc. , but if program on startup is causing a load you can simply disable it thru task managaer/startup (everything you can disable, but notn antivirus programs or essential systems like programs for printers etc.).
You can try to disable word/office from startup (via task manager or task scheduler) if you think it is culprit for bad performance. Restart after disabling it and see if helps, if not turn office back on or enable it.
Also I recommend antivirus scan (boot scan). I use AVAST AV and prior to entering Windows I set periodically AV to scan at boot to fix malwares and viruses that maybe causing problems.
Due to non-stop on internet I always purge temporary files and internet temp files from Users/YOURUSERNAME/appdata (if not visible turn on on folder settings - view hidden files).
Keep me up with results...
Anton TNT said:
It's normal for installed programs to impact on device startup and overall performance. You just have to maintain them properly, like cleaning internet cache and rubbish , old files etc. , but if program on startup is causing a load you can simply disable it thru task managaer/startup (everything you can disable, but notn antivirus programs or essential systems like programs for printers etc.).
You can try to disable word/office from startup (via task manager or task scheduler) if you think it is culprit for bad performance. Restart after disabling it and see if helps, if not turn office back on or enable it.
Also I recommend antivirus scan (boot scan). I use AVAST AV and prior to entering Windows I set periodically AV to scan at boot to fix malwares and viruses that maybe causing problems.
Due to non-stop on internet I always purge temporary files and internet temp files from Users/YOURUSERNAME/appdata (if not visible turn on on folder settings - view hidden files).
Keep me up with results...
Click to expand...
Click to collapse
thanks my friend for your patience on people like me ..
i bought this program ADVANCED SYSTEM CARE from ebay.com ..
and I know it and not new to it ..
the ones of time before last format of my laptop ..
the mentioned program was working great ..
i mean you notice a fast start up and internal fast using of win 10 pro ..
but now the status is different ..
i run ADVANCED SYSTEM CARE and after a while things gets slow ..
it's like i didn't run this program ..
Sent from my ANE-LX1 using Tapatalk
fantom9625 said:
thanks my friend for your patience on people like me ..
i bought this program ADVANCED SYSTEM CARE from ebay.com ..
and I know it and not new to it ..
the ones of time before last format of my laptop ..
the mentioned program was working great ..
i mean you notice a fast start up and internal fast using of win 10 pro ..
but now the status is different ..
i run ADVANCED SYSTEM CARE and after a while things gets slow ..
it's like i didn't run this program ..
Sent from my ANE-LX1 using Tapatalk
Click to expand...
Click to collapse
Well that's something... So something is loading at startup and in memory banks.
Let's try something new.
Can you put image of / screenshot of startup items here ?
(and please add your laptop description down to last detail , ram, cores, disk if it is ssd etc.)
Yes its lazy
I find it slow too but I tend to start windows and leave it to sort itself for 5 minutes then its fine.
Anton TNT said:
Well that's something... So something is loading at startup and in memory banks.
Let's try something new.
Can you put image of / screenshot of startup items here ?
(and please add your laptop description down to last detail , ram, cores, disk if it is ssd etc.)
Click to expand...
Click to collapse
i wish that can help ..
it's in Arabic if you need any translation tell me ..
https://imgur.com/Ffb7SEA
https://imgur.com/jvWoWq3
Sent from my ANE-LX1 using Tapatalk
Arbuthknott said:
I find it slow too but I tend to start windows and leave it to sort itself for 5 minutes then its fine.
Click to expand...
Click to collapse
that's the last solution i leave it for now ..
Sent from my ANE-LX1 using Tapatalk
fantom9625 said:
i wish that can help ..
it's in Arabic if you need any translation tell me ..
Click to expand...
Click to collapse
From this images I can see type of system but can you tell me what kind of disk you have SSD or HDD on laptop ? And model and brand of laptop (Toshiba, Lenovo etc.) too.
---------- Post added at 05:53 PM ---------- Previous post was at 05:31 PM ----------
fantom9625 said:
i wish that can help ..
https://imgur.com/jvWoWq3
Click to expand...
Click to collapse
Ok let's get a look of that windows host process rundll 32 , you can disable this , this is not critical process but you must tell me what this proces does and to what file it is linked.
On task manager you can go to services and find out about file that is using host process and then disable it from services to run.
Even better way : Open RUN command (WIN key+R) and type msconfig. Then go to tab "services" and find host process and disable it, after restart it will not load into memory and hopefully problem will be at lease fixed or pšerformance will be improved.
Also disable all microsoft load's like OFFICE 365 or something or program correlated to it.
Anton TNT said:
From this images I can see type of system but can you tell me what kind of disk you have SSD or HDD on laptop ? And model and brand of laptop (Toshiba, Lenovo etc.) too.
Click to expand...
Click to collapse
SSD 128 Giga and the laptop is LG RD410 ..
Sent from my ANE-LX1 using Tapatalk
Anton TNT said:
From this images I can see type of system but can you tell me what kind of disk you have SSD or HDD on laptop ? And model and brand of laptop (Toshiba, Lenovo etc.) too.
---------- Post added at 05:53 PM ---------- Previous post was at 05:31 PM ----------
Ok let's get a look of that windows host process rundll 32 , you can disable this , this is not critical process but you must tell me what this proces does and to what file it is linked.
On task manager you can go to services and find out about file that is using host process and then disable it from services to run.
Even better way : Open RUN command (WIN key+R) and type msconfig. Then go to tab "services" and find host process and disable it, after restart it will not load into memory and hopefully problem will be at lease fixed or pšerformance will be improved.
Also disable all microsoft load's like OFFICE 365 or something or program correlated to it.
Click to expand...
Click to collapse
hello [emoji112] my friend ..
you made my day ..
finally i got rid of slowness ..
and to be really true i added an information ..
that i forgot ..
that information is in this picture ..
https://imgur.com/Q0A3HT9
thank you my friend alot is not enough ..
[emoji3590][emoji3590][emoji3590][emoji3590][emoji3590][emoji3590][emoji3590][emoji3590]
[emoji257][emoji255][emoji259][emoji253][emoji272][emoji254][emoji259][emoji255]
thank you so much ..
Sent from my ANE-LX1 using Tapatalk
fantom9625 said:
hello [emoji112] my friend ..
you made my day ..
finally i got rid of slowness ..
and to be really true i added an information ..
that i forgot ..
that information is in this picture ..
https://imgur.com/Q0A3HT9
thank you my friend alot is not enough ..
[emoji3590][emoji3590][emoji3590][emoji3590][emoji3590][emoji3590][emoji3590][emoji3590]
[emoji257][emoji255][emoji259][emoji253][emoji272][emoji254][emoji259][emoji255]
thank you so much ..
Sent from my ANE-LX1 using Tapatalk
Click to expand...
Click to collapse
I'm glad to have this sorted out and that you are now happy ... Cheers!
not sure if u still need this but there are a couple of steps to follow and you'll notice difference in speed:
1- open task manager, then go to startup tab and disable everything that you don't want to run on startup ( this will reduce your boot time)
(
https://imgur.com/snlP7IU
)
2- open run (press windows + R) then type msconfig then hit enter then go to services and click on hide all microsoft services, then disable all the services you don't want. (
https://imgur.com/41MCVMH
)
3- clean temp and prefetch folders:
open run then type Temp and click enter, a new folder will open, delete everything inside
open run then type %Temp% and click enter, a new folder will open, delete everything inside
open run then type Prefetch and click enter, a new folder will open, delete everything inside
then restart your laptop
4- download some software to clean your registry files and update your drivers
What about viruses? You can try to use any best corporate antivirus to use. Take a look at https://antivirus-review.com/best-android-antivirus which one to try. Maybe it will be useful for you. Because, very often, the problems with the system starting and running can be caused by viruses or any other malicious files.
fantom9625 said:
before saying your old laptop is the problem ..
i am willing to tell you that the windows 10 pro ..
and after installing the win 10 pro every thing ..
works with out any problems ..
but I don't know what is happening after days or weeks ..
and maybe after installing main programs like office 2019 ..
the laptop is very slow including the startup ..
when I think of turning on the laptop ..
when i remember the slowness i think again of doing that ..
if you helped you have done alot ..
Sent from my ANE-LX1 using Tapatalk
Click to expand...
Click to collapse
you can manage startups in task manager. you can also choose services to be run manually or delayed automatic start in task manager > services. you can also remove some explorer shell integrations in autostarts app (a part of sysinternals suit), you can also disable unnecessary features with winaero tweaker

Categories

Resources