Deodex full rom = Boot loop - Galaxy S II Q&A, Help & Troubleshooting

Whenever I deodex the entire ROM (apps & system) it boot loops what-so-ever
I have no idea what I've done wrong, I've tried to do it all over again etc. but it ain't helping.
I've also tried to only deodex the app folder, (leaving the framework folder unmodified) but it still bootloops

Related

[Q] Has anyone tried to move dalvik-cache?

Tried to move data/dalvik-cache to /cache, then everything is force closed. I mean all startup apps failed.
Any idea?
Me too, created the Ext2 on the SD, then move the existing and created hard links on internal.
Rebooted, then the Stage_UI didn't want to start.
Went back in and reverse everything.
The stage UI caused me the same problem as well so I replaced it with ADW launcher. Way smoother.
Back on topic, the reason why all apps crashed is because the cache folder changes from 771 to 770 after every reboot. I tried to modify the init.rc , but it is useless because the phone loads the default init.rc from ramdisk in every reboot. I can extract the original file but I don't know how to put it back to the phone.

[Q] "Android is Updating" Window on Every Boot [SOLVED]

Hey guys I get "Android is Updating" "Optimizing Apps" Window on Every Boot, just for a Few Seconds, It didn't use to do this, has anyone experienced this, I'm Running Hydra-H2o ROM and Siyah Kernel?
UPDATE, SOLVED, Thanks to SoLoR1 for the "Fix"
SoLoR1 said:
I found out what caused this message for me... It was Titanium Backup odex file. So you can do two things, you can remove and then install again Titanium Backup or go in to /data/app and remove TB odex file and reboot phone....
Click to expand...
Click to collapse
Mine only does this when I install a new app to the /system directory and reboot. As you said it only lasts a few seconds, nothing to get worried about.
Chris.
Sounds like it's a boot animation.
OP, does the "Android is Upgrading" occur after the boot animation or as part of the boot animation? I doubt it is a boot animation as I have had it before, and it is standard, just not after every boot. Are you changing something in the /system/app directory or flashing a new mod? These would trigger an "Android is Upgrading" message.
Chris.
Some form of zip align/ optimise at boot
Check your roms specifications .
With 42 posts you can ask in the rom thread .
jje
It could be your cache or delvik cache is being cleared. Do you have something like a cleanup cache program running.
Sent from my GT-I9100 using Tapatalk 2
First I want to thank everyone for your prompt replies it's nice to see how helpful this community is!
themadba said:
Mine only does this when I install a new app to the /system directory and reboot. As you said it only lasts a few seconds, nothing to get worried about.
Chris.
Click to expand...
Click to collapse
It does it every time, I'm not worried I'm Annoyed LOL
ctomgee said:
Sounds like it's a boot animation.
Click to expand...
Click to collapse
it's not boot animation
themadba said:
OP, does the "Android is Upgrading" occur after the boot animation or as part of the boot animation? I doubt it is a boot animation as I have had it before, and it is standard, just not after every boot. Are you changing something in the /system/app directory or flashing a new mod? These would trigger an "Android is Upgrading" message.
Chris.
Click to expand...
Click to collapse
It ALWAYS occurs after, I've only changed the Launcher in system/app dir could that be it?
JJEgan said:
Some form of zip align/ optimise at boot
Check your roms specifications .
With 42 posts you can ask in the rom thread .
jje
Click to expand...
Click to collapse
Hydra-H2o is Zipaligned could that be it?
bored_stupid said:
It could be your cache or delvik cache is being cleared. Do you have something like a cleanup cache program running.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
I've wiped all caches, it still does it...
Try to install ultimate kernel cleaning script before you flash the rom.
http://forum.xda-developers.com/showthread.php?t=1363738.
RGNDI said:
First I want to thank everyone for your prompt replies it's nice to see how helpful this community is!
It does it every time, I'm not worried I'm Annoyed LOL
it's not boot animation
It ALWAYS occurs after, I've only changed the Launcher in system/app dir could that be it?
Hydra-H2o is Zipaligned could that be it?
I've wiped all caches, it still does it...
Click to expand...
Click to collapse
Thats what im talking about, when I wipe cache/delvik cache and when I reboot, the phone as to rebuild the delvik cache, hence andriod is upgrading. Never did it under gingerbread but i think its par of the course for ICS.
Sent from my GT-I9100 using Tapatalk 2
davidsgs23 said:
Try to install ultimate kernel cleaning script before you flash the rom.
http://forum.xda-developers.com/showthread.php?t=1363738.
Click to expand...
Click to collapse
I have it and I've Used it , but will give it another try, now that Siyah 3.2.3 is out!
Tried it super script and flash new kernel, didn't work, will try when the new rom is out
Sent from my GT-I9100
It isn't the dalvik cache being rebuilt that causes the "Android is Upgrading" because I just wiped my davlik cache as a test, and just a longer boot animation. I see that Hydra H2O is also an AOKP based ROM, like HydrogenICS, so I don't know, depends on the build version. Anyway, nothing to get annoyed about either. Just post on the developer's thread and see if anyone else has the same problem. Also, it isn't kernel related because I use Siyah Kernel too.
Chris.
I have same issue.... on every boot i get "Android is upgrading" window with Starting applications, i dont get any Optimizing applications, just Starting... for a sec or two... Didnt find the solution yet i also went and reflash same rom over with no success, only thing i didnt do is format /data partition since i cant be bothered to install all apps again....
edit: i found this since im runing stock XWLP9 with siyah krnel it might be it... however im sure i didnt have it few days ago...
SoLoR1 said:
I have same issue.... on every boot i get "Android is upgrading" window with Starting applications, i dont get any Optimizing applications, just Starting... for a sec or two... Didnt find the solution yet i also went and reflash same rom over with no success, only thing i didnt do is format /data partition since i cant be bothered to install all apps again....
Click to expand...
Click to collapse
Just found this. It does including optimising applications, but I think it gets to the point. http://forum.xda-developers.com/showthread.php?t=1365133&highlight=upgrading
Chris.
The thing is it didn't do it when it I did the clean install, it did it after the phone was completely set up...
Had a good think about this. Back in the days when we were all on gingerbread. We would install a new firmware and have to wait 10-20 mins for first boot," building the delvik cache, etc ". Prompting some noobs to think they were in a bootloop and pull the battery. ICS boots faster after first install," building aplication list, delvik cache, etc", can remember it stopping have way through to ask for data roaming to be enabled. After that, whenever we clear cache/delvik cache then reboot, it has to rebuild cache again. Only this time as a Andriod is upgrading message.
Sent from my GT-I9100 using Tapatalk 2
I found out what caused this message for me... It was Titanium Backup odex file. So you can do two things, you can remove and then install again Titanium Backup or go in to /data/app and remove TB odex file and reboot phone....
SoLoR1 said:
I found out what caused this message for me... It was Titanium Backup odex file. So you can do two things, you can remove and then install again Titanium Backup or go in to /data/app and remove TB odex file and reboot phone....
Click to expand...
Click to collapse
Dude you rock, I had a hunch it could be Ti but never did actually do anything I uninstalled it and installed it again worked like a charm
SOLVED!
Sent from my GT-I9100
Just FYI : This can be caused by modified ODEX files (maybe you've used some sort of patcher to remove ads, etc...) Simply remove all the modified ODEX files and you're done.
cyber9940 said:
Just FYI : This can be caused by modified ODEX files (maybe you've used some sort of patcher to remove ads, etc...) Simply remove all the modified ODEX files and you're done.
Click to expand...
Click to collapse
Where do I find the ODEX files exactly?
I'm having the exact same problem - I get "Android is upgrading - starting applications" every time I boot my phone. I've got a Galaxy S I9000 running CM9 stable I haven't modified any ODEX files (not that I'm aware of). I just uninstalled Titanium Backup but I'm still getting the same message.
I tried to locate the ODEX files using ES File Explorer but I can't find them. More specifically, I can see all the .odex files for the system apps within the /system/apps folder (I don't think I should touch those though, right?) - but when I go to the /data/app folder to look for the user-installed apps, there are only .apk files in there and no .odex files at all. Are they kept somewhere else?
And if I do find where they are kept, then what? Should I just delete all of them? Is that safe?

Deodexing stock rom results in Bootloop.

I have a rooted GiONEE Dream D1 GN878. I tried deodexing the stock rom with xUltimate 2.4.2
Initially I had errors while deodexing the framework files. But using the latest smali and blacksmali solved this and deodexing of /system/apps and /system/framework was successful.
Then I pushed the apps and framework to the system directory using adb and also deleted the odex files in both folders. The phone starts boot-looping after rebooting. Wiping cache, dalvic cache & data has not solved the problem. I have logcats (attached) but am not very familiar with this. (NOOB ). Can someone have a look and tell me whts wrong? Any help will be appreciated greatly.

Creating a flashable ZIP to restore system default fonts

Hi.
Well, I changed some of the system fonts (/system/fonts/ on my S3 and ended up in a softbrick (bootloop). I am almost sure the softbrick is due to the alteration I did to the system fonts (replaced many fonts with the Ubuntu regular, probably replaced too many of them ), because I didn't flash any rom, kernel or recovery (they are all stock). After reading something about bootloop I understood it's caused by some system file conflicting, so I thought the best way to resolve my brick is a flashable zip with the default fonts of the S3 (to flash with the stock recovery or adb, as I can get into both recovery and download mode, my phone just doesn't go after the bootanimation), or at least it would have worth a try. So, how can I create a flashable zip with the system default fonts and where can I download all of them?
I already tried to wipe cache and reboot, and it's important for me to keep my data, so I would prefer not to factory reset.
Also, is there any way to have a look at the boot log to see what's going wrong?
Thank you.
Please help me I really miss my phone!

Setup Wizard frozen state - cannot restore from twrp backup

Hey Guys,
first off: I google this before and my own work arounds did not yield any success. So here we go:
Originally I froze the Cyanogenmod Setup Wizard, as it constantly "stoppped working" after booting as I reinstalled a previously working version of (open) Gapps. Well, it still dit not work and the Setup Wizard kept quitting on boot.
Hence I did a nandroid backup with TWRP and completely formatted my internal storage - reinstalled everything from TWRP and tried to restore my "data" backup from TWRP. But what happens then is that CM13 goes into bootloop (I see the booting animation 90% of the time, sometimes it goes into "optimizing app..." mode, only to reboot immediately after finishing the optimization).
I assume this problem occures because I froze the Setup Wizard in the backup, which is required for initializing the system after restoring?
What I've tried so far:
reinstalling/restoring/wiping the different partitions in all possible orders
if I reinstall everything without the backup (includes DATA only!) CM13 boots up just fine, but without my user data, settings etc..
Thus I tried to unfreeze the setup wizard, but a) via ADB does not work (device always offline or cannot connect in bootloop/recovery mode), b) there is no "packages-stoped.xml" in my /system folder of the backup for the package manager (hence i cannot change the disabled/enabled value of com.cyanogenmod.setupwizard), c) replacing the /system folder of my data-backup with an older version: this worked but all my settings were completely gone.
Finally I even tried to delete the package.xml and package.list in the /data/system folder (assuming the freez-value is stored there) and it would be rebuild. However, this did not help.
So I do know by now, that the bootloop problem resides within the /data/system folder of my backup. However, I cannot narrow it more down. Does anyone have more ideas how I might restore from the backup without running into a boot loop?
//edit
I've narrowed it down to the /data/system/users folder. I've found the package-restrictions.xml there. But this is apparently not the one file responsible for the bootloop (exchanged it a working backup). Sadly, all my settings are in there as well
does anyone know how to solve this issue? I can exclude the frozen state or other restrictiond (xprivacy) as causes for the crash of setup wizard. However, this leaves me clueless as to the reasons of the crashs.
Atm. I have to run android without the play google framework (gapps pico) in ordee to circumevent this issue.
p.s. I used open gapps. Flashing differen gapps packages made not difference. And Open Gapps worked before... (as many poeple seem to have problems caused by the gapps package)

Categories

Resources