Giter Club home page Giter Club logo

Comments (14)

rovo89 avatar rovo89 commented on July 19, 2024

File size of 0 bytes not large enough to contain ELF header of 52 bytes: '/system/framework/arm/boot.oat'

Is this file really empty? Then you probably didn't flash your ROM correctly. This file is not touched by Xposed, but is required for the system to run.

from xposed.

numpea avatar numpea commented on July 19, 2024

my ROM is flashed correctly i'm using stock rom and it's working very well until i flash xposed
i'm not the only one with D618 that got a bootloop after flashing xposed framework

from xposed.

rovo89 avatar rovo89 commented on July 19, 2024

So... is this file really empty or not? If it is, was it empty before flashing Xposed? I cannot imagine any way how Xposed could clear it. What I can see is that there's a different behavior in the logcats, which is expected. However, both complain about the 0 byte file.

from xposed.

numpea avatar numpea commented on July 19, 2024

no it wasn't empty before flashing Xposed it's like 72.5 Mb
and if i take backup of that file and restore it after flashing Xposed or i can't take backup of it ?

from xposed.

rovo89 avatar rovo89 commented on July 19, 2024

Assuming everything is working fine now (without Xposed), it would be helpful if you could flash Xposed, and immediately check the file size again (before restarting). The restart, wait a bit to make sure there's still a bootloop and check the file size again. Depending on the results, I can think about further ways to investigate.

In general, you have to ensure that there's enough free space for the Dalvik cache. Maybe the error message isn't correct and actually wants to say that the recompiled file in the Dalvik cache is empty. That could be a consequence of too little free space. But again, this is just a guess in case the file in /system isn't really empty.

from xposed.

numpea avatar numpea commented on July 19, 2024

Ok, i'll do that and report back 👍

from xposed.

numpea avatar numpea commented on July 19, 2024

1- the boot.oat file after flashing xposed
capture1
2- the boot.oat file after flashing xposed and wiping dalvik and cache
capture2
3- bootloop after rebooting for 15 mn then back to recovery checked the boot.oat file it was the same nothing changed it was not empty 71.7 Mb

from xposed.

rovo89 avatar rovo89 commented on July 19, 2024

OK.. kind of expected, but still strange that you experience issues even after flashing the uninstaller. The only explanation would be that it's because the Dalvik cache gets cleared after flashing Xposed. And I assume you restore the previous cache along with your backup.

So one thing to try is deleting the Dalvik cache without flashing Xposed. I would expect that this results in a bootloop as well, as if should be the same situation as flashing Xposed and then the uninstaller.

Maybe the system also incorrectly determines the file size, but no idea what could go wrong there. I might need to build a special debug version to get more information.

from xposed.

numpea avatar numpea commented on July 19, 2024

yes i restore cache with previous backup
now i tried to clear dalvik and cache without flashing xposed and i did not result in a bootloop my device boot and actualize apps and runs normal
in the previous built v67 v68 Xposed worked !! but i got the space error and everytime i cleared cache and dalvik to get rid of the error i get bootloop
but with those two last build it doesn't even boot i got bootloop even without clearing cache and dalvik

from xposed.

rovo89 avatar rovo89 commented on July 19, 2024

Here's another idea for further debugging. The command adb shell ls -lRZ /system recursively shows all files within /system, along with their attributes and SELinux contexts. Maybe comparing the output of this beween different situations (before anything, after flashing Xposed, after flashing the uninstaller) will give some hints. I still don't get why it doesn't work after flashing the uninstaller, so I would first like to find out where the difference is.

from xposed.

numpea avatar numpea commented on July 19, 2024

Ok great idea i will make that for you
and thanks for your time and work spending on this really appreciate it

from xposed.

numpea avatar numpea commented on July 19, 2024

i don't know what was wrong i used v70 xposed worked without wiping cache i didn't got a bootloop maybe because a reflashed rom yesterday !!

but LGCover and LG weather still FC and used a script to remove them rebooted everything fine
still the low space error i wiped cache and dalvik and => got a bootloop
rebooted and used uninstaller same thing => worked !

so here is all system files in the various situations
before anything : https://drive.google.com/file/d/0BxDO1J2_PJJoeU1FYWJ4SGFNUnM/view?usp=sharing

after flashing exposed (without wiping cache and dalvik => no bootloop) (android updating apps on every reboot) : https://drive.google.com/file/d/0BxDO1J2_PJJoVTNGNlcxN2ZwMnM/view?usp=sharing

after flashing exposed (wiping cache and dalvik => bootloop) : https://drive.google.com/file/d/0BxDO1J2_PJJobEs0czZ6Tk5xYm8/view?usp=sharing

after flashing the uninstaller this time uninstaller worked i was waiting for 20min of bootloop but now it starts in 2 min !! : https://drive.google.com/file/d/0BxDO1J2_PJJoc18xcDVYcnpNMU0/view?usp=sharing

and here is a logcat of the bootloop after flashing xposed and wiping dalvik and cache : https://drive.google.com/file/d/0BxDO1J2_PJJoMDYzR1QtNERtSVE/view?usp=sharing

from xposed.

rovo89 avatar rovo89 commented on July 19, 2024

OK, so something probably was wrong with your ROM... anyway, doesn't really matter if at least that is solved now. Low storage space is expected as Xposed needs to recompile more things than the original ROM. You'll have to free up some space. The remaining issue is the same as in #53, please try that.

from xposed.

numpea avatar numpea commented on July 19, 2024

thank you so much @rovo89 the v71 test3 worked very fine i wiped cache and dalvik and didn't got a bootloop he's booting updating apps and the low space error is gone after wiping cache
all things are greaat thank you so much for you work and time spending with that 👍

from xposed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.