yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Saber:
New build is up! :highfive:

Build: DorimanX 13.0 b005

Realex-fire (co-maintainer) has been hard at work merging and testing patches from Dorimanx OP3T kernel. Some of the changes will help improve CPU utilization and as of a result, more battery should be saved. There were many other changes throughout the kernel that you'll either have to find out in the changelogs or by testing out the new build. In other words, the general stability and the performance of the kernel should be better versus older builds.

Happy flashing, Josh ;)
[Galaxy S II Android Development] JaLoou:
Hello.

Sorry, I suggest measures for fix a bug with a big battery drain, experienced by some users:

the Media Storage app must just use less of CPU performance.

I discover this app drains a battery mostly when many media files are on the internal or external smartphone storage due to this app finds the files, scans they, creates and saves databases.

May it is possible to decrease the CPU frequaincy for this app only?

May it is possible to lower a priority for this app among other apps?

This app read and writes a NAND memory. But a NAND memory is much more slow rather than RAM. So, the CPU haves empty cycles mostly performing this app.

If CPU frequaincy will be decreased for this app only then it will not make this app too slowly but the battery drain will be less significantly.

I think if such measures will be implemented in custom ROMs then the battery drain problem will be solved finally.
[Galaxy S II Android Development] wawa9292:
Same condition

Hey pal..

Your issue happened on mine too..

I'm using LOS14.1..

Without flashing dori, boots okay..

After flashing dori, only able to go dorimanx logo..

Can't go further, and then hot restarted it self..

And me too, i'm using i9100g lcd display panel.. :D

By the way, have you found the solve??
[Galaxy S II Android Development] Saber:
There must be some script that is conflicting with your display panel. I'll have a look when I have time. And also if you didn't know, disabling post-init will restrict the functionality and the performance of the kernel.
[Galaxy S II Android Development] wawa9292:
Thanks bro..

I really into dorimanx kernel..

I'll wait patiently.. :highfive:
[Galaxy S II Android Development] Apex Predator:
[MENTION=5811506]Saber[/MENTION] - Do you think your kernel would be ok to install on XenonHD ROM? It's based on LOS and uses an LOS kernel so I assume it would be compatible, but I figured I'd check first.

I was originally using Skyline's custom kernel but stuck with Xenon's default one a couple of flashes ago. Time to get tweaking again.
[Galaxy S II Android Development] Skyline:
It's too much outdated for new builds and not recommended. Since the dori is released for N I think there is no point in continuing that one
[Galaxy S II Android Development] Apex Predator:
Yeah that's why I switched to the stock Lineage kernel a while back. I am keen to check this Dorimanx one out but I figured I'd check first if it's likely to work. I'm guessing it will probably be ok.....but I have now read through the whole thread and I see that if I have any issues I can't get help here since I'm not on vanilla LOS.

I will probably take the risk with it after my next ROM flash, due any day now. What's the best way to back up the stock LOS kernel? I don't want to have to re-flash the whole ROM if things go wrong. I tried an old version of Flashify but when i select the LOS kernel to back up, the app just freezes/does nothing. AFAIK there is no other "easy" way to back up the kernel only to a flashable zip for a quick revert...is there?
[Galaxy S II Android Development] Skyline:
If you only restore stock LOS kernel on top of Dori phone will stuck in bootloop. So, better to take complete backup in twrp before flashing Dori
[Galaxy S II Android Development] Apex Predator:
That makes sense I guess. It would be easier to revert from full backup than a dirty flash huh.

Edit: in that case it's probably best for me to try it in this order to make things a bit more efficient. BEFORE flashing new version of ROM I make a backup ---> then flash Dori and play around, test stability, tweak etc ---> if all OK flash latest ROM, Gapps and Dori---test more with Dori on new ROM and hope for the best. If all goes well I stick with it, if not reflash ROM and Gapps without Dori.
[Galaxy S II Android Development] Saber:
It might be okay, although I haven't seen any recent reports of it working. Basically, the further away the ROM code base is from Lineage, the higher the chance the kernel will not run (or break). Just do a full backup beforehand.
[Galaxy S II Android Development] Skyline:
[MENTION=5811506]Saber[/MENTION] [MENTION=4428888]wawa9292[/MENTION] Hello guys,

Finally got some time to find root cause of stuck at bootlogo with i9100g display panel (I'm not sure if this is the main problem) but I am able to boot now.

Following piece of code from '/sbin/ext/system_tune_on_init.sh' script causes device to reboot from bootlogo again and again.

# check if gps or battery failed to init on reboot
GPS_ERR_CHECK=$($BB dmesg | $BB grep -w "k3g_probe : Device indentification failed" | $BB wc -l);
BATTERY_CHECK=$($BB dmesg | $BB grep -w "max8997_muic_charger_cb: fail to get battery ps" | $BB wc -l);
if [ "$GPS_ERR_CHECK" -eq "1" ] || ["$BATTERY_CHECK" -eq "1"]; then
sync;
reboot;
fi;

I tried removing usage of BATTERY_CHECK and GPS_ERR_CHECK variable simultaneously from code given above. Result shows BATTERY_CHECK mainly causing device to reboot from bootlogo. Also tried same with GPS_ERR_CHECK and result was device atleast boots fine after 1-2 reboots from bootlogo.

Main reason of why battery failed to init on reboot still unknown to me. But since no one with default hardware is facing the same issue this may be OT here.

EDIT1: Still stweaks shows 'no kernel support'

EDIT2: Solved! All good :)
[Galaxy S II Android Development] Saber:
[MENTION=5798657]Skyline[/MENTION]

Thanks for finding out the root cause of the issue.

However, the "fix" described is actually removing a workaround placed by dorimanx a long time ago where on some cases, rebooting with usb plugged may cause the battery and GPS driver to not load. Not sure if it still applies to my current kernel as there has been many changes since the commit. For now, users that have the same issue with rebooting (due to hardware changes, etc) can manually remove the lines, as I don't want to remove the workaround for everyone else without the issue.

I might be able to find ways around the reboot issue, but I haven't found time to work on my kernel lately :(

Regards, Josh
[Galaxy S II Android Development] Skyline:
I didn't removed GPS_ERR_CHECK and it's if condition so GPS should work.

This is completely OK. Since, same problem doesn't occur with normal I9100.

For me, I am able to compile your sources with those changes that allows my device to boot and it feels good while using dori on my device again ;)
[Galaxy S II Android Development] chhapil:
flashed SaberDori ;) couple of days back and been testing, All looks good.

Trim is back on STweaks :)

thanks [MENTION=5811506]Saber[/MENTION]
[Galaxy S II Android Development] wawa9292:
Great thanks & great discovery yo do [MENTION=5798657]Skyline[/MENTION], i'm really sorry for the late respons..

Really busy with work..

sure i'll try your way..

Edit : Btw, can you share your personal compile of dorimanx that you mention before?? (the one that works with our special case i9100G display panel)

Thanks

No need to haste [MENTION=5811506]Saber[/MENTION]

We all know everyone have a Real Life..

:highfive: quite glad knowing there is someone who still care of this old device.. ;)
[Galaxy S II Android Development] Skyline:
I am not sure if the problem is actually our phone's display but the battery. I will PM you the download link asap
[Galaxy S II Android Development] bushwakko:
I'm running newest RR with this kernel. I first installed a different kernel (Custom Kernel 27-03, also by Saber) but realized it was older and that this one probably was better. However, I get some very bad behavior with it, like everything freezing for minutes at a time, and chrome being extremely slow. Re-installing RR to get the RR-kernel doesn't work, it boots correctly, but I only get a black screen with no content when booted. Holding the power button will give me the reboot menu. Is this because I was stupid enough to install an old kernel first? And if so, is the only way to fix this to do another clean install?
[Galaxy S II Android Development] Skyline:
You have problem with CustomKernel by me or Dorimanx Kernel by saber?

If you have problem with my kernel then this is wrong thread else if you have problem specified above with Dori by saber then it's already known and listed in OP
[Galaxy S II Android Development] bushwakko:
Sorry, I might have misunderstood who made what here. I am currently running Dori, but I installed CustomKernel before that. I see from OP now that "- Allow users to revert kernel back to stock with everything working" is a TO DO. Is there something I can do to make reverting work again, other than clean installing? I mean, I assume it changes something outside the kernel blob itself that I could possibly revert manually? Could CustomKernel have similar reverting issues as well, so that I might take that into account as well?
[Galaxy S II Android Development] Skyline:
CustomKernel don't have same problem as Dori, but it's outdated now so I removed kernel link from CustomKernel thread OP to avoid further issues.

To solve your problem, may be clean wipe is the only solution.: (
[Galaxy S II Android Development] Saber:
Unfortunately, without a backup of the original system, you can't restore the ROM /w original kernel by dirty flashing. To be more accurate, a lot of basic functionality will be broken if you just flash ROM on top of DorimanX kernel.

There currently isn't any way around this, as the kernel requires some modification to the ROM in order to get it working (replacing sepolicy and selinux files with custom build, etc).
[Galaxy S II Android Development] Saber:
Announcement. Please read!

Hi everyone,

I have been thinking about leaving behind S2 development for a while, but this device never seems to die :)

Today I officially announce that kernel development has ended.

To be honest, I never expected so many users to support my kernel, especially since I have decided to build my kernels blindly, so thanks to all of the brave users for using my kernel :)

Blind builds in development is never a good idea. However, GreekDragon and Realex-fire gladly offered help and in turn we have a fully functioning kernel running on Nougat.

So where to now? There aren't any custom kernels being developed anymore!!!

As long as there's custom ROMs still being developed and there is a demand for more control over hardware, I'm sure someone on XDA or on the internet will come up with something :)

Regards, Josh
[Android Head-Units] chammock:
Like many of you I use tasker on my Joying 2GB - Sofia Unit. However I am encountering some issues with the speed in which it sometimes executes any tasks. To try and eliminate variables I have created a simple task which simple launches Spotify (I realise this is pointless but it is purely for troubleshooting).

If I run the task within tasker 100 times it executes instantly 100 times. If I run the task from a shortcut it may execute instantly or it may be delayed by 1 minute or more. I have looked through the forum and also google and found that if I create a tasker widget rather than a shortcut it executes instantly ever time.

When delayed I have tried turning logging on in tasker and found it is the request to tasker that is delayed not the starting of the task so its not an issue with tasker so much as it is an issue with android making the call from the shortcut. I have tried changing settings for "running in foreground", "allowing external access" and "reduce resource usage" but with no effect. I have also noticed in the About section the tasker version is slightly older as it detects my android version as Android 4.0 even though my device is running 5.0+ as it comes from the manufacturer.

I am using Lightning Launcher but have also switch to the standard Joying launcher and experienced the same issues.

First I would be interested to know anyone using tasker (and on what system ) and if they are having issues similar to the above or not at all. Obviously second I would be interested if anyone can make some suggestions as to what I could try to troubleshoot or resolve the issue. I feel like I need to trace the issue starting from what android is doing from the moment I click the shortcut to when the task launches.

Any response is appreciated as this is driving me nuts.
[Android Q&A, Help & Troubleshooting] Adari:
Hi i been wondering how to properly extract .bin files only using android. I tried to extract one psx game which is in bin format. I tried apps like rar, 7zip zarchiver and similiar extract apps with no luck. Any help. Thanks and srry for english
[Android Q&A, Help & Troubleshooting] MTranceAvB:
Any Answer ?!
[Nokia Lumia 920] Dragonknigh:
I would like to install few android apps but cant... Is it possible to install android instead of windows on microsoft phones or is there some other way to install android apps?
[Nokia Lumia 920] Dragonknigh:
Not even an NO
[One (M8) Q&A, Help & Troubleshooting] nmsv:
A friend of mine was given an One M8 (european) which is in the state below. I ended up reading countless threads about s-on/s-off, locked bootloader and so on but.

I can try the RUU process but will it result?

In this thread ( https://xdaforums.com/htc-one-m8/help/htc-one-m8-stuck-fastboot-menu-t3343506 ) the last guy says to unlock the bootloader and flash custom recovery. How can I do that without access to the phone into a normal state?

Any advice would be helpful :)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Try this - https://xdaforums.com/showpost.php?p=64926626&postcount=6

If it's not hardware problem, this should fix it
[One (M8) Q&A, Help & Troubleshooting] nmsv:
The device is: op6b100

Is it safe to flash that RUU?

thanks for your reply
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
The RUU linked by ckpv5 is

specifically intended

for your model, and that is the reason why he is telling you to use it.

Trust that guy, he knows what he is talking about. He doesn't guess or screw around.

---------- Post added at 11:01 AM ---------- Previous post was at 10:58 AM ----------

The current condition is fine, for unlocking the bootloader. You don't need a working OS to do it. But this is a much more complicated approach than the suggested RUU. You would need to get an unlock bin code from HTCDev.com, unlock the bootloader, install custom recovery. Even then, that doesn't get you a working OS. You then have to get an appropriate ROM or stock TWRP backup onto the phone, then flash/restore it.

So again, the RUU is a lot easier for the given situation (unmodified phone, bootloader locked, etc.). Just download the RUU, and run it per the linked instructions, and it will install a full stock image to the phone.
[One (M8) Q&A, Help & Troubleshooting] nmsv:
Thanks, will try in a few hours (just giving some juice (charge) to the phone :) )

While reading the topic I realized he knows the stuff it was just to confirm as I didn't specify the model :)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
We have magical ways of knowing. :)

Actually, since the device is not modified, the OS number on the bootloader screen tells is what model it is (the 401 is for Euro version MID op6b100).

But also, he wouldn't tell you to use just any RUU, unless he had a reason to suggest that particular one.

Additionally, even if it was the wrong RUU, it would not damage your phone. With s-on, it would just fail to install and give you a message that it is the wrong RUU. It's with s-off (SuperCID, etc.), you need to be careful about wrong RUU.
[One (M8) Q&A, Help & Troubleshooting] nmsv:
I have to say guys: this actually worked! You both were superb!

On behalf of him, thank you!
[Mogul, XV6800 ROM Development] AstronusX:
First I would like to say thanks to Shadowmite and Baffles for their idea of GPS Launcher. Shadowmite's GPSLauncher and Baffles' GPS Launcher are great gps launcher but aren't suite my need so I decided to write one myself.

Shadowmite's GPSLauncher is nice and compact but more work, I need to launch the application and click the 'Tomtom' to launch it (2 step). I like Baffles' idea when click on it and launch immediately but unfortunately it use .NET use lot of RAM.

I have issue on both application for tomtom is that when turn off the screen or someone call in, gps connection get lost and re-click it to open up the gps port for tomtom.

This AstroGPSLauncher open the gps port and launch 'gps application'. AstroGPSLauncher will close itself upon 'gps application' exit in which won't have issue when someone call in or turn off the phone.

iGuidance has issue with refresh the screen. To get iGuidance work correctly you need to get GPS Gate to redirect com 4 to com 2 and use this launcher to launch iGuidanceQVGA.exe, on iGuidance set to com 2. This way won't have map refresh issue.

--How to use this AstroGPSLauncher ---

--Copy AstroGPSLauncher to your Main Memory

\AstroGPSLauncher\AstroGPSLauncher.exe

(YOu can copy AstroGPSLauncher to SD Card but you need to change the path inside the shortcut if you use)

This launcher launch gps application through parameter(if you know what I meant) . I have provide two shortcuts 'Tomtom Launcher' which and 'iGuidance Launcher' for your need(Make sure you install tomtom app or iGuidance to main memory which you should). If you install on different location, you need to use notepad and edit the shortcut to correct gps application and icon or you can use 'SK Shortcut Manager' to create a short that point to your launcher.

SK Shortcut Manager - New Short cut Instruction

Name = you provide

Command = select AstroGPSLauncher

Parameters = select your gps application

and set icon to your gps application.

BTW, this application only take 2k of RAM (very small) and 10k for disk memory. It much less memory usage than Shadowmite's GPSLauncher and Baffles' GPS Launcher

If you like this application, please give some comments.

Thanks to shadowmite cab the file.
[Mogul, XV6800 ROM Development] AstronusX:
For people have problem to get AstroGPSLauncer to work

Please use 'SK Shortcut Manager to create a shortcut for you and simplify your process

Sk Shortcut Manager can be download here http://handheld.softpedia.com/get/S...-Applications/SK-Shortcut-Manager-18241.shtml

[SK Shortcut Manager]

Create new Shortcut

Name = you provide

Command = select AstroGPSLauncher

Parameters = select your gps application

and set icon to your gps application.

YOu can uninstall SK Shortcut Manager after done create a shortcut for your GPS

If you use iGuidance, you can use TalynOne 'iGuidanceInternalGPSLauncher.mscr', with GPSGate to get one step launch solution

Read this thread for more detail.

http://xdaforums.com/showthread.php?t=363431
[Mogul, XV6800 ROM Development] TalynOne:
Awesome! Thanks AstronusX, will be testing this soon. I updated my FAQ with info about your app.

http://xdaforums.com/showthread.php?t=363431

Edit: Just tested it, I first had to change the IGuidance shortcut to point to my storage card, as you described. I tested both TomTom and IGuidance and they work as advertised. I also tested running TomTom, turning off my Mogul, waiting 30 seconds, and turning it back on, and TomTom reacquired the GPS within 10 seconds. Awesome, thanks again AstronusX!
[Mogul, XV6800 ROM Development] rangie:
Works perfect with iGuidance.

Thanks!:)
[Mogul, XV6800 ROM Development] Fmstrat:
What are the chances of adding auto-launch/auto-kill of GPSGate to this app? That would be the end-all-be-all launcher for iGuidance.
[Mogul, XV6800 ROM Development] Nunim:
Working quite well with iGo 2006 :)
[Mogul, XV6800 ROM Development] Sifter:
Nice job, working well with TomTom.
[Mogul, XV6800 ROM Development] friguy33:
can we just dumb this down to my level for a sec lol...for my iguidance...

iGuidance has issue with refresh the screen. To get iGuidance work correctly you need to get GPS Gate to redirect com 4 to com 2 and use this launcher to launch iGuidanceQVGA.exe, on iGuidance set to com 2. This way won't have map refresh issue.

huh? i installed astrogpslauncher and changed the shortcut to open my iguidance on my sd card...it all opens, but whats with the redirect port? how would i do this? thanks! this is gonna make me sooooooooooo happy
[Mogul, XV6800 ROM Development] 1999TL:
Is there a way we can add run this launcher from the HTC home ? How would I get this launcher into the program shortcuts? thanks
[Mogul, XV6800 ROM Development] turilo:
help

ok i have igo instlled on main memory can some one plz tell me what to edit the shortcut to? and were do i put the gps launcher and shortcut plz?
[Mogul, XV6800 ROM Development] xclusiv_1:
i'm interested in this too b/c i'm lost
[Mogul, XV6800 ROM Development] AstronusX:
You need to install GPSGAte software or GPSProxy to redirect the port to com2 and use AstroGPSLauncher shortcuts to launch it.

- Yes you can, just copy the shortcut to \Windows\Start Menu\Programs and you can select from HTC Home selection

-- For iGo to work you also need to redirect your port as well, use GPSGate or GPSProxy to redirect your port to com2. After that, use 'Notepad' and open one of the short cut(eg. Tomtom Navigator Launcher) and change Tomtom Path to iGo Path and copy ur new shortcut to to \Windows\Start Menu\Programs and launch it from there (make sure you have gpsgate setup and it is running).

--Note: You can find 'Tomtom Navigator Launcher' shortcut in my zip file.

To create shortcut, you can use SK ShortCut Manager to make it simple and you can change icon as well.
[Mogul, XV6800 ROM Development] 1999TL:
Yah, I figured out the shortcut last night. This program ROCKS! THank you so much. I find a signal in 10 secs. With my bluetooth receiver, sometimes the damn thing wouldn't even connect. THANKS!!

I love this damn phone. Iphone killer
[Mogul, XV6800 ROM Development] AstronusX:
I'm glad it works for you
[Mogul, XV6800 ROM Development] TalynOne:
More detailed instructions on how to setup GpsGate and iGuidance are here:

http://xdaforums.com/showthread.php?t=363431
[Mogul, XV6800 ROM Development] friguy33:
So i got it working with iguidance, kinda annoying though. The GpsGate (which is not free, any free alternatives?) puts an icon on the today screen, so i run gpsgate then iguidance, what is the benefit of running the AstroGPSLauncher instead of just running iGuidance itself? iGuidnace was a little "choppy" when i drove to work today. might try tomtom (no TTS) sadly and see if its better.
[Mogul, XV6800 ROM Development] TalynOne:
Try my MortScript, it automates the AstroGPSLauncher, GpsGate launch process, it also turns off the backlight timeout while iGuidance is running, and skips the warning screen for you.

Without the AstroGPSLauncher iGuidance will not see the GPS at all, unless you ran another program that started the GPS for you, AstroGPSLauncher starts your GPS radio for you, and keeps it alive.

Also check my FAQ for a link to a free GpsGate alternative, though I haven't tested to see if it works.
[Mogul, XV6800 ROM Development] wewex:
Tilt & TomTom

Has anybody have any problems with there Tilt phone after installing TomTom 6. ?
[Mogul, XV6800 ROM Development] friguy33:
I tried your mortscript but wasnt working...put the shortcut in the program folder, installed mortscript but when i try and run it says script/programs/GPSLauncher/iGuidanceinternalGPSLa (its then cut off) not found. waiting for existance. storage card not initialized?

iGuidance is on my storage card obviously but its all working other wise...how do i fix this? thanks...new to mort script so i apologize if this is basic crap...