Giter Site home page Giter Site logo

Not packing properly about twrpdtgen HOT 17 CLOSED

twrpdtgen avatar twrpdtgen commented on September 28, 2024
Not packing properly

from twrpdtgen.

Comments (17)

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024 1

Fixed, please retry

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024 1

Fixed them all in new Python rewrite

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024

It seems the script isn't able to check if a dtb exists
I will fix it

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024

Force pushed, I forgot a line

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

Umm, that seems to have picked up the Dt.img,
but did not flag the needed dtbo.img
and made other issues.
Now the offset calculations are ;;
0x0x
instead of ;;
0x

then manually removed the extra "0x" and then build gives error
"header_version and dt cannot be set at same time"

so many worms in this can.

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

I have not verified , but I will soon.
I think AIK is not properly unpacking the recovery.img.
on windows I use carliv kitchen and it does not unpack correctly either. But when I use ART it does unpack /repack correct.

ART -android ROM tool.

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024
  • Fixed 0x issue
  • Fixed DTBO inclusion

Sorry for that, I had to adapt to AIK 3.7 changes

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024

"header_version and dt cannot be set at same time"

Could you send the entire error with del.dog?

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

"header_version and dt cannot be set at same time"

Could you send the entire error with del.dog?

this is the error.

https://del.dog/ackugheloc

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

I realize there are some things that are different for building in Android 10 source. Like in ten source there needs to be /system/etc folder in device tree.

There is no longer vendorsetup.sh either.

Like I said this is big can of worms opened up here.

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

Just used fresh got pull, and built new tree for current device. Ulefone note 9p (almost identical to Umidigi a9 pro and Blu G90).

The script still gives "TARGET_2ND_ARCH_VARIANT. := arm7-a-neon"
Building on 10 source throws an error with this.do not recall exact message.

2 more things I think are , maybe not working

"dtb_offset" did not get written
.
I was expecting to see
Board_mkbootimg_args += --dtb $(target_prebuilt_dtb)

But what was written by program was

Board_mkbootimg_args += --dt $(target_prebuilt_dtb)

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024

About dtb_offset, it's not necessary, but it may help

https://github.com/SebaUbuntu/TWRP-device-tree-generator/blob/master/start.py#L298-L299
It's impossible that it wrote --dt $(target_prebuilt_dtb), try to reclone instead of pulling

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

must be working on things..... the file start.py is gone from repo. right now.

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024

Recheck wiki, command has been updated

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

Alright.

I see on page 2 of wiki, new cmds. But on page 1 it still says

" If it isn't already, make start.py executable"

from twrpdtgen.

mrmazakblu avatar mrmazakblu commented on September 28, 2024

do i need to have any modules first. I am getting errors.

I tried in 2 different versions of python and get 2 different errors

https://del.dog/prehulosam

from twrpdtgen.

SebaUbuntu avatar SebaUbuntu commented on September 28, 2024

Wiki updated

from twrpdtgen.

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.