yashsingh1/xdaforums huggingface dataset:
[G2 Themes and Apps] Diechel:
You are totally right about the triangle, don't know why it's not shown.

Because i made the design in Tasker it is material like style. Not following the rules, just my own implementation.

Will try if I can get the triangle back :)
[G2 Themes and Apps] Wimmme:
One more thing: any specific reason why the app is not showing in recents? I just forced it into recents with app settings, but that might not be necessary.

I for example always check for xposed module updates before flashing the kernel and rebooting.

Not a bug or a complaint, just asking ;)
[G2 Themes and Apps] Diechel:
Nope, dont know.

Has to do with Tasker i think. Never shows up there.
[G2 Themes and Apps] bender_007:
-if the app reports the md5 as incorrect you could set the app to forbid flashing or to report incomplete download etc

Just a suggestion:)
[G2 Themes and Apps] Diechel:
You cannot flash when MD5 incorrect, only download again :)
[G2 Themes and Apps] bender_007:
I didn't try, just watching in main dori thread about it. Does it offer a 're-download'? If yes then great :)
[G2 Themes and Apps] Diechel:
Yes you can see on the screenshot off the guy in main LP thread. No flashing icon :) Only download.
[G2 Themes and Apps] Diechel:
New version will be pushed when I'm home :) Think in 1.5 hours.

V2.8 (21-05-2015)

- Fixed message when no online kernel found

- Fixed initialization of mirror index when app started for first time

- Added MD5 file creation for recovery, double check

- Force refreshing of webcache after changing mirror

- Check if webcache needs to be updated when changing available kernel version

- Text size cannot be smaller than 1

- Changed flashing confirmation toast to popup

- Set local md5 variable to Error when not set by function

- Error toasts on startup replaced by popup

- Force refreshing of webcache and changelogcache after clearing app folder

- Layout fixes

EDIT:

Done
[G2 Themes and Apps] ~Phil~:
Is there any possibility to get the real material design? With Transition effects and so on?
[G2 Themes and Apps] Diechel:
No sorry not possible with Tasker.

Want it also..... :crying:
[G2 Themes and Apps] iko11:
When I touch to Open nothing happens is this a bug ?

Sent from my LG-D802 Quetzal Rom v1.3 & Dorimanx LP Kernel v1.5
[G2 Themes and Apps] Diechel:
Sometimes have it also, don't know why. Need to test
[G2 Themes and Apps] iko11:
No big deal for me, just wanted to let you know :)
[G2 Themes and Apps] Valiceemo:
When i download the kernel i get an md5 error?
[G2 Themes and Apps] Diechel:
Where is your log?
[G2 Themes and Apps] Valiceemo:
Sorry. Of course.

Log.
[G2 Themes and Apps] Diechel:
25-05-2015 16.30 - Calculating MD5 hash local file %md5 [,addLogData,getMD5Hash,floatingButtonHandler,setLo calFileState,downloadKernel,]
25-05-2015 16.30 - Error while getting local MD5 [,addLogData,getMD5Hash,floatingButtonHandler,setLo calFileState,downloadKernel,]

Think MD5 command not existing.

Can you try 'md5' and 'md5sum' in terminal and report the output of that.
[G2 Themes and Apps] Ginel:
md5 error from your ota downloader :(
[G2 Themes and Apps] Valiceemo:
When I type md5sum, I get the message
[G2 Themes and Apps] dorimanx:
No busybox.

Sent from my LG-D802
[G2 Themes and Apps] Valiceemo:
Yep.

That's the problem.

Installed busybox and all is well in the world again!

Thanks!
[G2 Themes and Apps] Diechel:
Update busybox
[G2 Themes and Apps] Diechel:
New version released!

In future maybe busybox will be included in the *.apk. For now its downloaded (200kb).

Have fun with the update and let me know if you have any problems!

V2.9 (09-06-2015)

- Added local busybox, will be downloaded from github when not present.

- Changed 'Flashing options' to 'Other options' in free version (forgot it)

- Force enable logging due to busybox

Pro:

- Fixed changelog regex, now doesn't stop if dorimanx uses a newline
[G2 Themes and Apps] gozzaa:
hey [MENTION=1559352]Diechel[/MENTION]

whats up with version 2.9 (pro version)?

i got some issues:

- it downloads busybox at every start

- md5 error on download

- android system notifiys me that your app is draining too much battery
[G2 Themes and Apps] Diechel:
Log?
[G2 Themes and Apps] gozzaa:
there you go

is it possible to add a log feature that writes directly into a file? :)

would save some hassle
[G2 Themes and Apps] Diechel:
Haha yes, will look at it and respond back. Thanks for your report

--------

FAQ:

Q: I have a problem with DorimanX OTA or found a bug, how to report?

A: Without logs I can't and won't do anything. You can get them by enabling logging in settings. Logs are saved on /sdcard/DorimanXOTA/DorimanXOTA_log.txt.

-------
[G2 Themes and Apps] Diechel:
It is hanging on copying busybox file from cache folder to /data folder on root. Will try if I can find something and make a test build.

Edit:

Can you try to copy the file busybox manually to

/data/data/com.diechel.xda.dorimanxota.pro/

Busybox file should be in the cache folder of DorimanXOTA.

File permission should be 755

Edit:

Does the app has root permission?

Copy command seems good, think it is a permission problem.
[G2 Themes and Apps] gozzaa:
eh, i just cleared dalvik + cache (not because of your app) and now its working
[G2 Themes and Apps] Diechel:
Oh weird ... :)

Good that it is working
[G2 Themes and Apps] pitsgraft:
Hi [MENTION=1559352]Diechel[/MENTION],

A couple of days ago i flashed 2.9 via Dori OTA, today i have a reboot & due to SU did not load the kernel report was unable to provide.

So i tried to reflash the kernel Dori 2.9 via OTA again the tap flash pop up did not respond (it did blink blue each time I touch).

I deicide to clean download folder &re download the kernel via OTA "it works". But did not work when i pressed the flash confirmation pop up again.

I uninstall the app&reinstall again, reflash SU 2.49 again (dalvik&cache clean), re-grant all su permission, but still unable to flash kernel via dori OTA ...

D802, somboons 30b, dori 2.9, xposed, twrp 2.8.6.3, rooted SU 2.49.

Is there a way to provide log for dori OTA app? My bad, I found it...sorry for the log request.

Here's the log.

Prev

https://mega.co.nz/#!xpwFjCoJ!TDLudZ2FNeditL6QZH7wYy73wAmXC5qKoDjetjvFZ_s

Latest

https://mega.nz/#!0oBCHCKB!ZXEgiEDpBRbCoYE_FxlzWRNJaTGvZctSuv4Pe3dDdqU

Cheers,
[G2 Themes and Apps] Diechel:
Will look at it when I'm back home
[G2 Themes and Apps] Diechel:
After this log rule:

14-06-2015 18.01 - Setting recovery instructions, echo "install /sdcard/DorimanXOTA/Kernel-Dorimanx-V2.9-LP-[22-19]-[12-06]-LG-D802-PWR-CORE.zip" > /cache/recovery/openrecoveryscript [,addLogData,flashKernel,]

There is a Tasker command named 'Run Shell', with that i run the above command (with SU permissions).

After running that command there should be a new log rule named

Run 2 times 'sync' command before rebooting

But you are not getting that one. I conclude that your phone is hanging on the 'Run Shell' command.

Can you try to manually enter the command in a terminal emulator.

su
echo "install /sdcard/DorimanXOTA/Kernel-Dorimanx-V2.9-LP-[22-19]-[12-06]-LG-D802-PWR-CORE.zip" > /cache/recovery/openrecoveryscript

And post the output of that, also check the file ' /cache/recovery/openrecoveryscript' with a root filemanager.

Waiting for your response.

EDIT:

How flashing log should like:

13-06-2015 13.50 - Flash confirm quesion [,addLogData,floatingButtonHandler,]
13-06-2015 13.50 - Check file exist Kernel-Dorimanx-V2.9-LP-[22-19]-[12-06]-LG-D802-PWR-CORE.zip [,addLogData,checkFileExist,flashKernel,]
13-06-2015 13.50 - File exist [,addLogData,checkFileExist,flashKernel,]
13-06-2015 13.50 - Resetting profiles with 'echo 0 > /data/.dori/reset_profiles' [,addLogData,resetDoriProfiles,flashKernel,]
13-06-2015 13.50 - Writing version number 2.9 to boot.md5 in cache folder [,addLogData,flashKernel,]
13-06-2015 13.50 - Enable boot md5 creation after booting up [,addLogData,flashKernel,]
13-06-2015 13.50 - Writing md5 file for recovery. DorimanXOTA/Kernel-Dorimanx-V2.9-LP-[22-19]-[12-06]-LG-D802-PWR-CORE.zip.md5 (a14d853d0a3d55af0609f8affc5e4d84 *Kernel-Dorimanx-V2.9-LP-[22-19]-[12-06]-LG-D802-PWR-CORE.zip) [,addLogData,flashKernel,]
13-06-2015 13.50 - Setting recovery instructions, echo "install /sdcard/DorimanXOTA/Kernel-Dorimanx-V2.9-LP-[22-19]-[12-06]-LG-D802-PWR-CORE.zip" > /cache/recovery/openrecoveryscript [,addLogData,flashKernel,]
13-06-2015 13.50 - Running 2 times 'sync' command before rebooting [,addLogData,flashKernel,]
13-06-2015 13.50 - Reboot to recovery [,addLogData,flashKernel,]
13-06-2015 13.56 - System boot detected, check if service needs to be killed. [,addLogData,]
[G2 Themes and Apps] pitsgraft:
Hi,

Sorry for the late reply i have tried the command on command emulator i get this. And mentioned not found As attached.

And have tried finding the file in /cache/recovery/openrecoveryscript via es file explorer (root permitted) no file / folder is found. As attached

Is there something wrong with my D802 system?

If there is is there any solution?, please advise.

Thank you for your response and assistance.

Cheers,
[G2 Themes and Apps] Diechel:
My folders, see attachment

Do you have TWRP installed?
[G2 Themes and Apps] pitsgraft:
[MENTION=1559352]Diechel[/MENTION],

I have recovery twrp 2.8.6.3 and working, but after seeing your attachment (with rec folder). I decide to reflash twrp 2.8.6.3 again. And i search the device/cache/ and still I cant find the recovery folder.
[G2 Themes and Apps] Diechel:
Installed new sombooms ultra debloates and having the same problem.

Will see if i can fix .

Edit:

Cache partition is empty
[G2 Themes and Apps] Diechel:
Does it has su access?

You can check in supersu app
[G2 Themes and Apps] alexr71:
Yes, of course! I've been using it for a while. I think that this problem came up with the latest version...

-edit-

Ok, I've tested v2.8 and everything works fine... so it's definitely an issue with latest version...
[G2 Themes and Apps] pitsgraft:
Hi,

I thought i find a solution i downgraded the recovery by flashing TWRP 2.8.6.1 reboot to recovery again on the advance menu(sort of) and the file browser from twrp i find the cache/recovery folder. I thought I'm doing good but when I reboot to system it kept giving com.android process has stopped (tried entering the recovery again via power+ vol- button its still with twrp) on twrp i reflashed dori's v2.9 and the error stopped but xposed stopped to work/not found (SU its still okay). each i flashed the xposed framework the error came back and again solved by dori's kernel.

Now i stopped my step until better solution (with a plain v30b totally stock appearance)...lol...
[G2 Themes and Apps] Diechel:
Latest version i implemented a local busybox binary which will be downloaded from internet.

After download the file 'busybox' should be placed in the folder /sdcard/DorimanXOTA/cache/

When file exists in cache folder it will try to move it to /data/com.diechel.xda.dorimanxota(.pro).

I think the moving of the file is not working for you.

- Can you verify the file 'busybox' exists in the cache folder of the folder on the sdcard.

- Can you verify that it has not copied the file busybox to /data/ ..... etc

Now i have 2 problems:

- People dont have busybox toolbox installed right

- People with local busybox moving problems

Need to find a good solution.
[G2 Themes and Apps] Diechel:
Maybe i need to check if the folder /cache/recovery/ exists, when not create it with the right permissions?

IDK what is the best solution for that.
[G2 Themes and Apps] pitsgraft:
Hi,

Heres some stupid things i did and notices.

On TWRP 2.8.6.1 there is a recovery folder and file device/cache/recovery but due previously i flashed kernel 2.9 somehow after boot my xposed framework is not available/not found (just download the latest) and the com.android.process error came back

But on twrp 2.8.6.3 recovery folder and files is no where to be found. Kernel 2.9, xposed (all mods runs perfecly) but dori OTA did not run to flash. And as your previous recommendation to find the recovery folder, so i decide to create recovery folder 644. It did work (restart to recovery but did not flash the kernel & reboot "not stuck") i check via twrp file manager the recovery folder is filled with files. so i flashed the kernel and boot to system all went OK.

Well IMO and if I may suggest, maybe you can add via next OTA version to create the folder it self and the run shell. At least i know even by creating the recovery folder within device/cache it work up to recovery.

I'm aware this issue may just happened to my D802 maybe cause of my mods or apps i installed/ unintalled.

Sorry for the trouble and I hope this report helps you.

Cheers.
[G2 Themes and Apps] alexr71:
Ok, I've moved busybox from /sdcard/DorimanXOTA/cache/ to /data/data/com.diechel.xda.dorimanxota and now it's working.

The path actually is /data/data/com.diechel.xda.dorimanxota.. maybe that's the problem?
[G2 Themes and Apps] mariolenin:
Nice :)
[G2 Themes and Apps] Diechel:
Thank you, will check.

Edit:

Copy command in app was to /data/data/ :)

Typed it wrong out of my head.

Thanks so far
[G2 Themes and Apps] tomarin:
What permissions should be for busybox in data/data/ directory ?

Keep up the good work.
[G2 Themes and Apps] Diechel:
755

Next version i will revert to old method by using global busybox toolbox found in /system/bin or xbin.

When starting up i will check if the function busybox md5sum is present, if not i will show a popup to update busybox.
[G2 Themes and Apps] iko11:
The OTA app couldn't flash the new kernel v3.0 asks me to tap to confirm but nothing happens
[G2 Themes and Apps] Diechel:
Can you check if the folder /cache/recovery exists?
[G2 Themes and Apps] gozzaa:
same problem, folder doesnt exist
[G2 Themes and Apps] Diechel:
Create it with permission 770 and try again.

If it works I will implement in next version
[G2 Themes and Apps] gozzaa:
its rebooting to recovery but not flashing

edit: and the folder is gone after reboot
[G2 Themes and Apps] Diechel:
Hmm... Did you update TWRP maybe?
[G2 Themes and Apps] saspo59:
hi

i am mooving the queshtion that i post st dori to here.

"hi , dont know what happen to my "dorimanx ota" app. i cant flash with it,

it recognize the new update download it then when ordering to flash the popup shows saying to tape on it to confirm flash and there its stop and not going into recovery for flash,

i already reinstal the app. and even delete dori dir. in data not helping only manual install works.

thanks"
[G2 Themes and Apps] gozzaa:
i have 2.8.6.3 installed
[G2 Themes and Apps] iko11:
It's the same with [MENTION=3217629]gozzaa[/MENTION] TWRP version 2.8.6.3

Edit: I think it's trying to get this file
[G2 Themes and Apps] Diechel:
I have 2.8.6.1, can you try downgrade?

if that is the problem we need to find a solution for newer version.
[G2 Themes and Apps] saspo59:
i am with 2.8.6.1
[G2 Themes and Apps] Diechel:
Busy with new version which will be first tested in this thread.

- Using new command for TWRP, instead of 'install' now uses '--update_package='

- Check if recovery folder exists, if not create.

When ready i will post here
[G2 Themes and Apps] Brahialis:
Same problem. TWRP 2.8.6.1
[G2 Themes and Apps] Diechel:
Thanks for report, busy with test version right now!
[G2 Themes and Apps] Diechel:
For now i've not managed to get it working, after manually deleting the /cache/recovery/ folder it's not working anymore ...

- Tried wipe cache from TWRP

- Installed V2.8 of OTA app, also not working

- Tried other command

The command 'install' is written in the file /cache/recovery/openrecoveryscript

Then it reboots to TWRP but it not runs the zip file.

I think its not a problem of the app but somewhere in the system. Dont know where to search for now.

Edit:

What i also see is that it cannot take the boot partition md5 anymore. Maybe due to permissions.
[G2 Themes and Apps] bender_007:
Use /cache/recovery/command

--update_package=/sdcard/0/yourfolder/kernel.zip

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Themes and Apps] Diechel:
Thanks, will try
[G2 Themes and Apps] bender_007:
^I'm using it for all of my apps which access recovery

And no, you don't have to create /cache/recovery folder
[G2 Themes and Apps] Diechel:
When the folder /cache/recovery/ doesn't exist you cannot echo to a file right?
[G2 Themes and Apps] bender_007:
If the "path" doesn't exist you can't echo(create) a file for sure

But /cache/recovery has to exist

i suggest you

1. echo to /sdcard/command

2. check if /cache/recovery exists

if yes then 3

if no then 4

3. mv /sdcard/command /cache/recovery/command

4. mkdir /cache/

5. mkdir /cache/recovery

--then 3

@ boot partition -> dump it first, then md5
[G2 Themes and Apps] Diechel:
When using the command file, my TWRP startup logo is looping.

Only forcing phone off will take it out ...

EDIT:

Removed the command file using adb shell when looping, it started TWRP!

Maybe update my TWRP

using openrecoveryscript with the install command always worked and now it's not? idk
[G2 Themes and Apps] bender_007:
What version of twrp ?

can you manually create the command file and push to /cache/recovery ? Check if it's there.

leave just command inside it

then reboot

This is a bulletproof method

Usually /cache/recovery is there and we don't delete it :)

Can you send me an empty zip file you want to flash ? I'll quickly integrate it into my miniapp and send to you to try ?
[G2 Themes and Apps] Diechel:
Just updated to 2.8.6.3 and now its working ...

was on *.1
[G2 Themes and Apps] bender_007:
I don't think it's twrp version related, works for me on 2.8.6.1 and every other version :)

Might be you freshed up the installation a bit(files/folders)

But there was something wrong with the folders perhaps.

Check folder permissions now (compare to earlier)
[G2 Themes and Apps] Diechel:
Test version with --update_package
[G2 Themes and Apps] pitsgraft:
Hi,

Another odd report.

A couple of minutes ago, I redownload dori kernel V2.7 and the latest 3.0 (no flash from ota).

But heres what I do i flashed dori 2.7 dalvik&cache clean via twrp 2.8.6.3 than boot to system. Afterward via OTA tap to flash to 3.0 and it flashed perfectly.

On 3.0 again via OTA try to flash 2.7 or any version get the non responsive tap to flash from OTA.

IMO my apology to master Dorimanx but i think theres a permission/SElinux mod that he create may have causes this non responsive tap to flash.

It's not from recovery issues cause I'm using TWRP 2.8.6.3 since doris kernel was on 2.6/2.7

Again this report is based on actual test that i do to my d802.

Currently on dori's 3.0 and will try your OTA test build and feedback asap.

Add: just installed the test version apk. It reboot to recovery twrp, but still not flashing the kernel.

I hope this report helps,

Cheers,
[G2 Themes and Apps] bender_007:
I guess the file failed to create

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Themes and Apps] Diechel:
Test with chmod 777 on /cache/recovery/
[G2 Themes and Apps] gozzaa:
boots to recovery but doesnt flash :crying:
[G2 Themes and Apps] akaloith:
it does not work with v3.0 3.1 etc

am i doing something wrong?
[G2 Themes and Apps] Diechel:
hmm

No you are not doing something wrong, we have some permission problems to fix
[G2 Themes and Apps] bender_007:
[MENTION=1559352]Diechel[/MENTION] see if the file is altered in /cache/recovery

If not, mount / or /sys as rw

+if you have time later I can help you testing(the flahable zip should be empty=do nothing since you only need to check if it's flashing)

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Themes and Apps] akaloith:
3.1.2 worked i think
[G2 Themes and Apps] Diechel:
New test version.
[G2 Themes and Apps] kobredabre:
Hmmm okay, this is the situation... Dorimanx ota now reacts to touch and reebots to twrp but nothing happens there (no flash). When I reeboted device Dorimanx ota says that I have 3.1.2 kernel (had 2.9) but kernel Dorimanx app says that I'm still on 2.9 and that there is newer version to download (when I do kernel check) I didn't flashed kernel manually (i have 3.1.2 version in ota folder, app downloaded it) if u wanna some more tests...

Twrp version is 2.8.6.1
[G2 Themes and Apps] bender_007:
When coming fron other kernel the app works fine. [MENTION=1559352]Diechel[/MENTION]

Please do a test app that does the same as this ota but doesn't reboot - so people can look up if the file is in /cache/recovery or not. Or..

1. Run app

2. App changes selinux mode(to whatever it was when it worked)

3. App writes command to /cache/recovery

4. App changes selinux mode back

5. Reboot to recovery

6. Voila

Poslano sa mog LG-D802 koristeći Tapatalk
[G2 Themes and Apps] saspo59:
With new app. Works fine
[G2 Themes and Apps] dorimanx:
App cant enable selinux without reboot.

Problem was that cache not mounted.

Fixed in 3.1.2 only bug for ext4 cache.

Now should all be ok, sorry for mess.

Sent from my LG-D802
[G2 Themes and Apps] tomarin:
Lg g2 802 srk rom v30b dorimanx 3.1.2.

I can just confirm that it all works fine again .

I first flashed the new kernel version 3.1.2. Manualy thru TWRP/ wiped dalvik and cache and than afteer boot just for test I flashed the same kernel version again thru Dorimanx OTA app.

All works OK now.

Thank all of you for your hard work and for making all of us simple users happy !
[G2 Themes and Apps] Diechel:
Clear the folder /sdcard/DorimanXOTA/cache, will fix in next version.

And the Golden rule is: no logs no problems [emoji14]
[G2 Themes and Apps] Diechel:
First of all thank you [MENTION=3279781]bender_007[/MENTION] for your help so far. Also the others for testing!

Changes so far:

- Check if /cache/recovery/ folder exist, if not create

- Check recovery folder permission = 777, if not chmod 777

- Reverted flash command to old one, openrecoveryscript (always worked good)

- Check if openrecoveryscript file exist

- Back to system wide busybox
[G2 Themes and Apps] kobredabre:
Did that just now and it was same - phone rebooted into recovery but there nothing happens. Only thing that changed is that dorimanx ota app now displays correct kernel version (2.9)

Then I manually installed 3.1.2 kernel through twrp, went into OS, opened Dorimanx ota app and flashed same version of kernel again and it went ok.

So its everything ok now but I will attach a log file (its just first failed and second success attempt) if ya wanna check it out ;)
[G2 Themes and Apps] Diechel:
Thank you, i know what the problem is.

Has to do with beta kernel version detection. The ota app didnt know that the flashing went wrong.

It saved the flashed version in the cache folder, after reboot it takes the boot partition md5 and places that in the same folder.

For now i leave it that way and will think about a better solution, thanks for you report.

In the attachment the latest test version before play store release!
[G2 Themes and Apps] kobredabre:
You're welcome, I'm glad that I could help somehow.
[G2 Themes and Apps] dorimanx:
2.9 kernel is bugged. Cache is not mounted.

I have fixed that only in 3.1.2

Sent from my LG-D802
[G2 Themes and Apps] Diechel:
New version pushed to Play Store.

Finaly after a lot of try and error [MENTION=2376110]dorimanx[/MENTION] found the problem. Cache folder was not mounted correctly.

All update to kernel > V3.1.2.

This update will take a bit longer to reboot after pressing the flashing confirmation, this due to all the checks.

Next version will have some log text in the flashing window.

V2.91 (21-06-2015)

- Check if /cache/recovery/ folder exist, if not create

- Check recovery folder permission = 777, if not chmod 777

- Reverted flash command to old one, openrecoveryscript (always worked good)

- Check if openrecoveryscript file exist

- Back to system wide busybox

If not working correctly, post log + problem in this thread.

Have fun flashing...
[G2 Themes and Apps] TMG1961:
Check if openrecoveryscript file exist.

I dont have that file..i checked the folder cache/recovery but there is only a file called last_log. Should the file be there or somewhere else?