[Q] Bootloop - Android

Hi all,
I need help with this problem :
Code:
E/dalvikvm( 111): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'
It is CM10. Please reply as soon as possible.
Thanks

This is what I mean by your not ready, I've told you what to do multiple times to fix this error
1) decompile boot.img
2) decompile ramdisk.img
3) locate and open init.rc with a text editor (gedit)
4) locate and replace the bootclasspath path with the one in the error
5) recompile ramdisk.img
6) recompile boot.img
Sent from my HTC PH39100 using Tapatalk 2

mg2195 said:
This is what I mean by your not ready, I've told you what to do multiple times to fix this error
1) decompile boot.img
2) decompile ramdisk.img
3) locate and open init.rc with a text editor (gedit)
4) locate and replace the bootclasspath path with the one in the error
5) recompile ramdisk.img
6) recompile boot.img
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
Thanks, that's what I needed to know. I think I'm ready. I read about logcat, what does it consist of ROM, boot.img, etc... I really read a lot. Do not worry. I tried to make a new theme for my phone and bootanimation. I know about the scripts and everything on it belongs to. I really think, that I'm ready and I want to try . But once again THANK YOU. And something else. What should I do if it did not work?

Mlopik said:
Thanks, that's what I needed to know. I think I'm ready. I read about logcat, what does it consist of ROM, boot.img, etc... I really read a lot. Do not worry. I tried to make a new theme for my phone and bootanimation. I know about the scripts and everything on it belongs to. I really think, that I'm ready and I want to try . But once again THANK YOU. And something else. What should I do if it did not work?
Click to expand...
Click to collapse
Try and get a new logcat...its all trial and error...keep experimenting with things...always keep a backup of files before you make changes that way its easy to go back in case you mess something up
Sent from my HTC PH39100 using Tapatalk 2

mg2195 said:
Try and get a new logcat...its all trial and error...keep experimenting with things...always keep a backup of files before you make changes that way its easy to go back in case you mess something up
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
I think the problem is not in this. developer before me was transcribed in "init.rc" in "bootclasspath" that error in logcat, as you said. The bug will be in something else. Bootanimation is working, but the phone after a while restarts and again, again, ... Do you know what it could be? And I also know what the developer before me meant by "use the driver from desire z." CM10 is not a source for Huawei u8800, but can be used from the desire z, because it has the same chipset as my Huawei u8800. Is that okay?

So I tried it (what you said):
1) I extracted boot.img (http://tiad8.com/threads/nand-how-to-unpack-repack-boot-img-recovery-img.839/)
2) I went to the "boot.img-ramdisk"
3) Then I opened the "init.rc"
4) I rewrote the bootclasspath problem, which appeared in logcat
5) I packed boot.img (this has 2x larger size)
6) I have put boot.img to ROM
I'll try flash it via recovery.

It depends on what'll use recovery? I believe, that no.

So I tried to flash it. It does not work. In recovery I give "instalation aborted". It's a bug in the script? Or error in boot.img? I personally think that I had made ​​a mistake in "repack boot.img". What do you think?

Sorry it was my bad. I flashed, but bootloop is still. Freeze in splash screen (huawei boot logo). Please advice.
Sent from my U8800 using xda app-developers app

Related

[Q] How to repack a system.img

I have a question, I need help repacking a system.img. This is what i have done, i unpacked it, removed unnessasary apps and added a different frame work, so now i want to repack back to a system.img file.But have had no luck. I do have ubuntu and windows so no matter what operating system i use.
frankinstine said:
I have a question, I need help repacking a system.img. This is what i have done, i unpacked it, removed unnessasary apps and added a different frame work, so now i want to repack back to a system.img file.But have had no luck. I do have ubuntu and windows so no matter what operating system i use.
Click to expand...
Click to collapse
If you intend on flashing it with a custom recovery, you could also zip the whole package and name it update.zip
There's an excellent guide over here.
The problem is, I used mkcramfs and when I unpacked it again it showed empty
Sent from my HTC HD2 using XDA App
frankinstine said:
The problem is, I used mkcramfs and when I unpacked it again it showed empty
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
I see. But what will the .img be used for?
Thijs96 said:
I see. But what will the .img be used for?
Click to expand...
Click to collapse
I want to edit and change some things in it. I'm doing this for the HD2. The new nand flash. So that's why a zip will not help me, I do know how to make a Rom into an zip. The nand flashs the boot.img and system.img
Sent from my HTC HD2 using XDA App
To be clear I have the system file ready I just need to reach it
Sent from my HTC HD2 using XDA App
frankinstine said:
To be clear I have the system file ready I just need to reach it
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Yes, yes, I know what you mean.
You've got to have /system in a folder, not compressed.
*You've got to be on linux!
Issue:
Code:
mkfs.yaffs2 yourdir yourimage
But you've got to find that command on Google, I didn't find it. Otherwise, flash it to your device and make a Nandroid backup.
Edit: I've found mkfs.yaffs2, but it's ARM only. That means you've got to do it on your device (Busybox/Terminal)
It's here.
Thijs96 said:
Yes, yes, I know what you mean.
You've got to have /system in a folder, not compressed.
*You've got to be on linux!
Issue:
Code:
mkfs.yaffs2 yourdir yourimage
But you've got to find that command on Google, I didn't find it. Otherwise, flash it to your device and make a Nandroid backup.
Edit: I've found mkfs.yaffs2, but it's ARM only. That means you've got to do it on your device (Busybox/Terminal)
It's here.
Click to expand...
Click to collapse
I'll give it a shot then
Sent from my HTC HD2 using XDA App
You can get yaffs2 tool for x86 Linux from here: http://jiggawatt.org/badc0de/android/mkfs.yaffs2.x86.tar.gz
I don't remember off hand what to search for as its been a while since I used it. I'll upload them when I get home if I still have them.
Sent from my HERO200 using XDA App
copy the folder to the sd on the phone, (eg /sdcard/myimg/ open a terminal on the phone, issue mkyaffs2image /sdcard/myimg/ /sdcard/system.img
bgcngm said:
You can get yaffs2 tool for x86 Linux from here: http://jiggawatt.org/badc0de/android/mkfs.yaffs2.x86.tar.gz
Click to expand...
Click to collapse
It's awesome! I've actually copied it into /bin/ on my computer, I'm using it an awful lot
pls help me!!!
how to upack and repack system.img ang boot.img...because i cant understand the guide..i think its missing something..pls help me
Is that for samsung devices?If yes,you can have a look at my sig
Sent from my GT-N7000 using xda app-developers app

Changing the kernel boot image?

I've read around on trying to find the answer to this question but cant seem to find it....
I would like to know how you change the kernel boot up image you get when you turn on your phone,
is this even possible? and if it is what format would i have to make the image
-Thanks
Update:
Seriously does nobody know how to change the Kernel boot image???
(the image you get when you startup your phone)
I realy like to know to, because since i start to use hell's kernel never see again the rafael baugis kernel... now i have RB kernel but the boot image never apear again...
Sent from my GT-S5830i using xda app-developers app
You need to edit the kernel source and recompile using the image, aka not worth it
Also the image in present in .lfs partition inside /mnt folder
And please instead of creating new threads for questions, Post them here
http://forum.xda-developers.com/showthread.php?t=2089279
ZakooZ said:
You need to edit the kernel source and recompile using the image, aka not worth it
Click to expand...
Click to collapse
That is incorrect.
As long as the phone is rooted and you have a file explorer (ES File Exp) installed, you need to copy the dowloaded .zip file to the following location:
/system/media/
and rename to bootanimation.zip. Reboot and shazaam
:silly::silly::silly:
:laugh::laugh::laugh:
Squidge1980 said:
That is incorrect.
As long as the phone is rooted and you have a file explorer (ES File Exp) installed, you need to copy the dowloaded .zip file to the following location:
/system/media/
and rename to bootanimation.zip. Reboot and shazaam
:silly::silly::silly:
:laugh::laugh::laugh:
Click to expand...
Click to collapse
You can't understand a bit of what he said
And he is saying Kernel Splash image
Not the bootanimation
So better not tell fairytales here
iamareebjamal said:
So better not tell fairytales here
Click to expand...
Click to collapse
Not a fairy tale, it was a miss read.
Which i am sure 99% of people have done before.
@Xx James xX
Sorry i miss informed as i had miss read :angel:

hboot hboot 1.25.0002 and other questions

Hello, I have some questions and even though I looked I could not find a solution.
1) I have unlocked the boot loader and I do root, I custom hboot 1.25.0002 rom and I can put the 1.24.0000?
2) I tried to install a rom and I get error message in recovery that I can not put .. it is here: http://forum.xda-developers.com/showthread.php?t=2113587
what's wrong and what I can do?
You need to change mountpoints in updater-script, there is a guide somewhere in Android Development, just search for it there.
dansou901 said:
You need to change mountpoints in updater-script, there is a guide somewhere in Android Development, just search for it there.
Click to expand...
Click to collapse
I used this guide: http://forum.xda-developers.com/showthread.php?t=2213663 but there was no change at least not to accept the rom I have problemI.
Replace updater-script in Half-Sense.zip using 7-zip on Windows (important!) with the one I attached to this post, should work then. Remove the extension first from the file prior to packing it into the zip.
dansou901 said:
Replace updater-script in Half-Sense.zip using 7-zip on Windows (important!) with the one I attached to this post, should work then. Remove the extension first from the file prior to packing it into the zip.
Click to expand...
Click to collapse
I copy all from this file and replace it in file which is in rom zip. Now it will works if I have JB hboot? Sorry that I'm still asking but I damaged my phone one time and I dont want to do this one more time.
banjok said:
I copy all from this file and replace it in file which is in rom zip. Now it will works if I have JB hboot? Sorry that I'm still asking but I damaged my phone one time and I dont want to do this one more time.
Click to expand...
Click to collapse
Should work.

[Tutorial] How to mod files for Safestrap Alpha

I was just gonna make this little tutorial to take some work off of The actual Dev for the Project(Beastmode) thanks again for your work brother
In his newest alpha release of safe strap we're able to replace the stock rom slot with a 4.3 Touchwiz ROM, I have seen people report that they have flashed certain roms without having to do any modification, but this is a safety precaution.
First you will need your rom of choice, in this tutorial I'm using N3BULA.
Download the rom and extract the contents to a folder on your pc or phone, PC is much easier, but you can edit on your phone as well
The files you need to edit are under META-INF/COM/GOOGLE/ANDROID that's actually the only files
Im using his modified files from the dev thread for comparison.
First we'll open the Aroma-Config
http://forum.xda-developers.com/attachment.php?attachmentid=2650078&stc=1&d=1395786107
Pardon the crude screen shot method but this will show you the changes and where they are.
Modified is on the left and Stock that came with the rom is on the right. Make the Changes and save
Next is Updater-Script
Same crude method of screen shot
http://forum.xda-developers.com/attachment.php?attachmentid=2650086&stc=1&d=1395786357
you can see where the two differ, so just edit that out as well.
Left is modified, Right is stock
Save Changes
Edit 3/26 you can also delete boot.img in zip
Make sure these files are on external sd card as well as the rom, boot into recovery, always make a nandroid backup, wipe and flash.\
This is the first time I have made a tutorial, so if its rough around the edges please excuse my forum newbness
if I missed anything definitely feel free to add, and once again A HUGE THANK YOU BEASTMODE.
Hopefully in a few hours or days these edits wont be needed.
how do we go about putting them into the rom zip file?
You edit them in the rom zip file... extract the rom and it moves as a zip, my case was it downloaded to storage sdcard (internal). I extracted it to ext sdcard and then went in and edited it. It still remains a zip
Sent from my SCH-I605 using Tapatalk
Easy way is to use 7 zip. Extract the ROM and make the changes. Now right click on original ROM and select open archive. From there u can place the modded files. Now the ROM.zip is still flashable.
Sent from my LG-VS980 using xda app-developers app
of course as soon as i posted it, i figured it out, unfortunately i can't get alliance to work afterwards, it installs but doesn't boot
I'm using alliance atm on safestrap. Don't mod anything. Just choose the stock kernel when you get to that point in the installer.
So glad to see you post that.!!! Been talking to a guy about it for about 2 hrs about it now, I actually told him it should work as long as agni wasn't chosen, thanks for clarification
Sent from my SCH-I605 using Tapatalk
I tried and unedited version of alliance and it tripped Knox and I had to odin anyone got an edited version with out kernel that they know works
Sent from my SCH-I605 using Tapatalk
In my nebula zip I have a file on the root called boot.img should I delete this file as well?
Sent from my SCH-I605 using Tapatalk
It wouldn't hurt. The script edits disregard it but just to be safe you can
Sent from my SCH-I605 using Tapatalk
I don't get it I edited the zips and then when i try to flash in recovery it just says failed? it doesn't give me a specific reason. This is for n3bula rom. But i extracted using winrar, deleted boot.img, changed the aroma config and updated zip using wordpad, zipped the rom and it doesn't seem to work. is there something i'm doing wrong?
HerroMoto said:
I don't get it I edited the zips and then when i try to flash in recovery it just says failed? it doesn't give me a specific reason. This is for n3bula rom. But i extracted using winrar, deleted boot.img, changed the aroma config and updated zip using wordpad, zipped the rom and it doesn't seem to work. is there something i'm doing wrong?
Click to expand...
Click to collapse
After you deleted the boot.img there is no point in editing the rest. I used 7zip to unzip and rezip and have not had any problems yet. Winrar might be causing problems for all i know as i never use it. I'm not around my pc for the most part atm but i haven't had any problems flashing 4 or 5 roms with just deleting the boot.img.
roflcoptersoisoi said:
After you deleted the boot.img there is no point in editing the rest. I used 7zip to unzip and rezip and have not had any problems yet. Winrar might be causing problems for all i know as i never use it. I'm not around my pc for the most part atm but i haven't had any problems flashing 4 or 5 roms with just deleting the boot.img.
Click to expand...
Click to collapse
I ended up fixing it. I tried doing it through winrar and from root explorer on my phone. The way I got it to work was actually downloading the aroma-config file and uodater-script file from the development thread that beast mode provided and changed those. He happened to use nebula as well so everything is working great
Sent from my SCH-I605 using Tapatalk
Ive tried n3bula alliance and jediwiz(?) And all have worked out for me need some time to work SS!! Lol
Sent from my SCH-I605 using Tapatalk
So I have to delete stuff in the updater script and the boot.img correct? I opened the updater script in notepad and it looked nothing like that..
trying to install Jett rom and im not sure what will happen when I delete that kernel line..
already deleted boot.img
Just delete the boot.img nothing else
Sent from my SCH-I605 using Tapatalk
hggadm3 said:
Just delete the boot.img nothing else
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Excellent. Thank you!!!
Sorry for the dumb question but what do I do if the rom of choice isn't showing up on the root of my extSD?
EDIT:
Nevermind, to anyone who saw my last post(s), I'm an idiot .
Ran through Odin, re-rooted, re-installed Safestrap, now installing N3bula Rom.
Hope all goes well. And sorry for any inconvenience!
Hope my donation helped out some Beastmode!

help!!!

i have made rom for my s duos using xda kitchenn but i get status 1 error when i flash the rom
i have searched a lot but i can't find satisfied answer
can any one help me solve this error?
i'm using this guide
http://forum.xda-developers.com/showthread.php?t=1801690
Vaibhav Chauhan said:
i have made rom for my s duos using xda kitchenn but i get status 1 error when i flash the rom
i have searched a lot but i can't find satisfied answer
can any one help me solve this error?
i'm using this guide
http://forum.xda-developers.com/showthread.php?t=1801690
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2230733
Status 1 Error:
"Well this is one of the most rarest error that a person can get...but with my experience I came to know that this occurs because you don't have correct permissions set. Use correct perms in updater-script and done "
Grab another rom that is the same base you are using and look at the META-INF/com/google/android folder which contains the updater script and binary to use as your reference points. Compare and contrast yours with that one.
es0tericcha0s said:
http://forum.xda-developers.com/showthread.php?t=2230733
Status 1 Error:
"Well this is one of the most rarest error that a person can get...but with my experience I came to know that this occurs because you don't have correct permissions set. Use correct perms in updater-script and done "
Grab another rom that is the same base you are using and look at the META-INF/com/google/android folder which contains the updater script and binary to use as your reference points. Compare and contrast yours with that one.
Click to expand...
Click to collapse
can i use another rom's updater script in my rom which has same base??
Should be able to. Wouldn't hurt to look at the differences though so then you can understand what things affect the install to help build knowledge.
es0tericcha0s said:
Should be able to. Wouldn't hurt to look at the differences though so then you can understand what things affect the install to help build knowledge.
Click to expand...
Click to collapse
i tried to replace updater script but not working
i also have tried to compare set perms but i am unable to find fault in it
@es0tericcha0s
please tell me what to do??
Sorry, that was my main idea. Are you getting the same error code? Did you unzip and re-zip the rom? If so, you should use an archive manager like 7zip to move the update script into the zip without needing to unzip the whole thing, otherwise you'll break the signature on the rom and have to re-sign it.
es0tericcha0s said:
Sorry, that was my main idea. Are you getting the same error code? Did you unzip and re-zip the rom? If so, you should use an archive manager like 7zip to move the update script into the zip without needing to unzip the whole thing, otherwise you'll break the signature on the rom and have to re-sign it.
Click to expand...
Click to collapse
actually i am using android kitchen to make the rom
and when i use the cosmic rom's updater script in it the status 1 error was solved
but it stuck on boot animation
@es0tericcha0s
my stuck on bootloops can you tell me how to logcat?
Vaibhav Chauhan said:
@es0tericcha0s
my stuck on bootloops can you tell me how to logcat?
Click to expand...
Click to collapse
Not all phones have adb access while in a bootloop. But to do so you would need adb set up on your computer, change directories to the adb folder (or if it's enabled globally, then where ever), and type:
adb logcat
You'll want to save it somewhere like:
http://pastebin.com/
and upload the link.
I am not skilled at reading logcats, so not sure if I can be of any more help after that.
If you don't have adb set up already, then just use this one: http://forum.xda-developers.com/showthread.php?t=2317790

Categories

Resources