MiCode / patchrom

Use disassemble/assemble technology to porting miui to misc android devices
http://micode.net/forum-55-1.html
490 stars 370 forks source link

Bootloop plz help #130

Closed aymende7 closed 6 years ago

aymende7 commented 7 years ago

i got this after fullota command plz help me Ubuntu 14.04 64bit java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+162) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+162, mixed mode)

/home/aymen/bin/patchrom/tools/apktool --quiet b out/framework -o out/framework.jar Exception in thread "main" brut.androlib.AndrolibException: java.util.concurrent.ExecutionException: java.lang.NullPointerException at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:129) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:69) at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:376) at brut.androlib.Androlib.buildSources(Androlib.java:335) at brut.androlib.Androlib.build(Androlib.java:292) at brut.androlib.Androlib.build(Androlib.java:268) at brut.apktool.Main.cmdBuild(Main.java:224) at brut.apktool.Main.main(Main.java:84) Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:124) ... 7 more Caused by: java.lang.NullPointerException at org.jf.dexlib2.writer.pool.PoolClassDef.(PoolClassDef.java:59) at org.jf.dexlib2.writer.pool.ClassPool.intern(ClassPool.java:88) at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:116) at brut.androlib.src.SmaliBuilder$1.call(SmaliBuilder.java:94) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1161) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:844)

WarrenLobo commented 7 years ago

wew :))) 💯

aymende7 commented 7 years ago

I couldn't do it without you

aymende7 commented 7 years ago

i got this fullota.zip 868.3MB i will flash it and see what happens

WarrenLobo commented 7 years ago

Thank you :)

aymende7 commented 7 years ago

i got Updater process unded with signal : 4 error installing zip file i think the error it is in the updater script

WarrenLobo commented 7 years ago

send me the updater scipt

aymende7 commented 7 years ago

updater-script.zip

WarrenLobo commented 7 years ago

updater-scriptupdated.zip

aymende7 commented 7 years ago

same error :(

WarrenLobo commented 7 years ago

Give me details of the error take a screenshot and send me and try using different version of twrp

aymende7 commented 7 years ago

screenshot_2017-04-22-02-23-23

aymende7 commented 7 years ago

i tired twrp 3.0 same problem

WarrenLobo commented 7 years ago

Don't use adb sideload put the ROM in your sd card then try

aymende7 commented 7 years ago

i tired both of them

WarrenLobo commented 7 years ago

OK send me the cm 13 metainf and miui one I will fix it tommorow

aymende7 commented 7 years ago

META-INF-Miui.zip META-INF-CM13.zip

WarrenLobo commented 7 years ago

Send me meta-inf from cm 13 original file which you downloaded from xda

aymende7 commented 7 years ago

ok

aymende7 commented 7 years ago

http://www.mediafire.com/file/y0f4njelvj12zuk/META-INF-original.zip

WarrenLobo commented 7 years ago

Everything looks ok send me the rom zip contents

WarrenLobo commented 7 years ago

Try philz and cwm recovery

WarrenLobo commented 7 years ago

https://drive.google.com/open?id=0BwNzJlzJeevDSWR1X0hDU1ZEZWM the problem was with release keys

aymende7 commented 7 years ago

thanks it works with twrp 3.0.3 :D it stucks on Miboot logo i think i should edit the boot.img

WarrenLobo commented 7 years ago

Same problem here send the logcats to take log cat connect your phone to pc and open adb fastboot and type adb logcat

WarrenLobo commented 7 years ago

send me your boot.img

aymende7 commented 7 years ago

boot.img.zip usb debugging disabled from default.prop and adb didn't recognize the phone *enabled

WarrenLobo commented 7 years ago

wait i will try to fix it

WarrenLobo commented 7 years ago

flash this and try to take adb logcat i dont know what is restricting it to boot https://drive.google.com/open?id=0BwNzJlzJeevDUWtUSkF4aXNjQVE extract this and flash this img using twrp

WarrenLobo commented 7 years ago

https://drive.google.com/open?id=0BwNzJlzJeevDUWtUSkF4aXNjQVE extract and flash this boot.img and then send me the logs to know what is restricting to boot the rom

aymende7 commented 7 years ago

logcat.txt

WarrenLobo commented 7 years ago

i will try to fix it or i will try to contact a developer

aymende7 commented 7 years ago

Ok thanks :D

WarrenLobo commented 7 years ago

I have contacted this developer https://forum.xda-developers.com/member.php?u=7623264

WarrenLobo commented 7 years ago

I am also having the same problem

aymende7 commented 7 years ago

:0 which phone and rom

aymende7 commented 7 years ago

did you try this https://forum.xda-developers.com/showpost.php?p=69191801&postcount=1234

WarrenLobo commented 7 years ago

I don't know where is the issue I have to analyse the logcat I will surely fix it till tommorow

aymende7 commented 7 years ago

i hope so

WarrenLobo commented 7 years ago

BTW my phone is yuphoria and ROM is lineage os 13

WarrenLobo commented 7 years ago

Yes I will fix it till tomorrow

WarrenLobo commented 7 years ago

Install this image via recovery https://drive.google.com/open?id=0BwNzJlzJeevDUFBwSkhWc3dMMEE unzip it :p

aymende7 commented 7 years ago

OK :D

aymende7 commented 7 years ago

same problem :/ stuck on mi logo

WarrenLobo commented 7 years ago

i will try to fix it

aymende7 commented 7 years ago

Thank you 😀

WarrenLobo commented 7 years ago

I have contacted a developer but he is not replying

WarrenLobo commented 7 years ago

https://forum.xda-developers.com/member.php?u=7623264 send him boot.img and logcat

aymende7 commented 7 years ago

Ok i have contacted him waiting for his reply

aymende7 commented 7 years ago

I need to upload the project do you know how?

WarrenLobo commented 7 years ago

Nope haven't tried yet but you can try this https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/