Android is starting bootloop - possibly due to apps deleted/moved - Sony Xperia XA Questions & Answers

Hi,
My question is, whats the cause for a bootloop after it optimises apps.
Basically I was doing really well modding out my XA, until I tried adoptable storage. It was not really functional using the root essential app. Atleast not for me. So I started to use apps2sd which I found to be really good, alot better at finding the second partition, more options etc.
To cut it short, after I couldn't find what was taking up so much space,
I moved a heck of alot of apps to sd card,
removed some apps, - apps removed - chinese keyboard and a photo feature. I also added some root apps in, and removed kobo books etc :s
canned it,
reset the phone in twrp,
now it bootloops.
My immediate problem is that I can't wipe cache?
Thanks

jaraks said:
Hi,
My question is, whats the cause for a bootloop after it optimises apps.
Basically I was doing really well modding out my XA, until I tried adoptable storage. It was not really functional using the root essential app. Atleast not for me. So I started to use apps2sd which I found to be really good, alot better at finding the second partition, more options etc.
To cut it short, after I couldn't find what was taking up so much space,
I moved a heck of alot of apps to sd card,
removed some apps, - apps removed - chinese keyboard and a photo feature. I also added some root apps in, and removed kobo books etc :s
canned it,
reset the phone in twrp,
now it bootloops.
My immediate problem is that I can't wipe cache?
Thanks
Click to expand...
Click to collapse
Had to reinstall the firmware thanks to Malleliu at
https://forum.xda-developers.com/xperia-xa/help/bootloop-flashing-33-2-3-81-firmware-t3502160
I now don't have a recovery though, so I'll count myself luckier than bricked and stop modding.
At first I tried manually deleting cache in TWRP then formatting and immediately rebooting TWRP. Whether this was right, someone can scrutinize. So I think my problem was irreparably messing with system apps, which may make sense seeming as alot of apps in an xperia device seem to be linked. And when it did essentially format a non existing folder, it was still not booting.
Anyway peace out peeps, I'm going to enjoy a stock phone.

Wiping cache is useless, use file explorer in TWRP and you will see that there is near nothing in it, partition size is less than 200Mb. Only recovery logs and few things. If you really need to wipe it use fastboot command.
Adoptable Storage works very well only if you don't use mixed AS, only full. I use it with a SanDisk 128Gb class 10 SDCard.

Related

Going From JF rc33 to thedudes 1.5 issue

Ok, I asked this in theDudes thread for this release but it wasnt answered.
My question is this. I have went from Rc33 to the 1.5 cupcake build. I absolutely love it. Now, on JF's build i was using the apps to sd mod. So currently I have been running all my apps on my sd. Now that I have updated to theDudes, all of my apps are there, but my phone storage is pretty low.
Are all my apps on my sdcard still? All of them are showing up on phone. how do i figure this out, and or get my phone memory back??
thanks guys!
bump
Anybody suggestions?
All i know is I did an update without a wipe comming from jfrc33 with apps to sd mod by lucidrem. Now all my apps show up, but my available memory is 33mb.
Did my apps somehow make it back to the phone memory? I read that after an install there should be 51mb free. So im missing almost 20.
Anyone?
If you went from RC33 to TheDude's you probably need to do a wipe and then flash TheDude. Then, create all of your symlinks again. YMMV, but that's what I've heard recommended. I had to wipe going form Haykuro's to TheDudes and those were both App2SD versions and both based on 1.5 --- I'd imagine you'd have issues coming from RC33 to 1.5 without wiping. But I could be wrong.
and 33MB seems like a lot of available room to me. I have my apps to SD and I have 26MB free on /data --- and that's after freshly clearing my browser cache. (I dont have my caches to SD yet.)
Well, oddly enough when i flashed and didnt do a wipe, my phone came back exactly as it was b4 it was powered off. I noticed that the memory was alot lower than what i was used to getting, but that could be the build.
Anyway, I wiped the device and had to do the whole initial setup and all.
From this point, how do i do apps to sd on this rom? can you point me to a link?
I know with jf's you run the commands through the telnet.. but i dont think thats the case here. I looked through the thread, but nothing.
look under the applications tab for dev tools. There is a terminal emulator there.
type su at the prompt then enter the commands. You may need to boot to the recovery console: (power down phone, press home + power until text appears, press alt + x) Once at the recovery console type the sym links to complete the transition.
mrmikemcguire said:
From this point, how do i do apps to sd on this rom? can you point me to a link?
Click to expand...
Click to collapse
Search is your friend. http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD
Make sure you have your card partitioned correctly first.
I went straight to Dude's .8 apps2sd nowipe from JF's RC33 and everything works perfectly but I only have 20mb free.
I've only moved apps, not data or cache, so that may be why. I'm seeing all these people claiming 50-70mb free though and it makes me jealous. I may be just imagining it, but it seems when I start getting down to this amount of free space, the phone tends to get a little laggy.
How Did You Guys Move Apps But Not Data/Cache? Lol Those Are The Easiest Things To Do On Your G1.
TheStudent said:
How Did You Guys Move Apps But Not Data/Cache? Lol Those Are The Easiest Things To Do On Your G1.
Click to expand...
Click to collapse
I had the cache moved to SD for a long time. Then at around 80 installed apps, internal space started to become a real problem. I got tired of managing apps on a daily basis, not to mention the dismal performance of the phone when memory gets tight.
So I broke down and bought a class 6 card and partitioned. I initially tried moving both apps and data. It was a disaster. I never could get to work...either it never thought the apps were installed, or the phone got stuck at the flashing android.
I tried scripts, and even making the symlinks by hand. Nothing helped. I think I must have done a factory wipe about a dozen times trying to get it to work.
I finally ended up just moving the apps, but not the data. That worked just fine and has been working ever since. I think people who are moving both must not have very many apps installed in the first place.
If space starts to get tight again, I'll try moving the caches. In the meantime, I'm hoping Google/T-Mo makes and effort to resolve the lack of internal memory another way.....other than expecting us to buy a new phone.
I'm keeping a sharp eye on NuviPhone....4GB internal memory...I'm sure it won't be long before someone has Android running on it.
I have the same issue. 19mb available after cleared cache. updated from lucid rem mod to .8 apps2sd. had about 42mb free before update. It showed me having 18mb free originally, not sure why i have 19 now, although I did uninstall powermanager since it doesn't work on Dudes build. but that should have been installed to sd?!
f4phantomii said:
I had the cache moved to SD for a long time. Then at around 80 installed apps, internal space started to become a real problem. I got tired of managing apps on a daily basis, not to mention the dismal performance of the phone when memory gets tight.
So I broke down and bought a class 6 card and partitioned. I initially tried moving both apps and data. It was a disaster. I never could get to work...either it never thought the apps were installed, or the phone got stuck at the flashing android.
I tried scripts, and even making the symlinks by hand. Nothing helped. I think I must have done a factory wipe about a dozen times trying to get it to work.
I finally ended up just moving the apps, but not the data. That worked just fine and has been working ever since. I think people who are moving both must not have very many apps installed in the first place.
If space starts to get tight again, I'll try moving the caches. In the meantime, I'm hoping Google/T-Mo makes and effort to resolve the lack of internal memory another way.....other than expecting us to buy a new phone.
I'm keeping a sharp eye on NuviPhone....4GB internal memory...I'm sure it won't be long before someone has Android running on it.
Click to expand...
Click to collapse
Yeah I Get What Your Saying I Have Like 59MB Free But I Don't Have Apps Installed To SD-Card. I Would Love If T-Mobile/HTC Made An Update Where We Could Just Use Our Memory Card To Save Apps And Data/Cache Without Rooting It, That Would Be Insanely Crazy I Have A 8GB SD-Card But I'm Not Sure It It's Class 6 Dam, Bought It For Nothing.
I just moved dalvik-cache to sd card and went from 18mb available to 57mb in Dudes build.
Try this
I actually ran into the same senario when I went from RC33 to theDudes cupcake! I went back and reflashed my phone and went back to the RC33 build with mod, think that was 1.42, then instead of using LuciREM apps to sdcard i tried using MarcusMaximus's. They both move apps to sdcard and both work great. I realized on MarcusMaximus's edition after running commands in the terminal we rooted from recovery and mounted in recovery as well. I guess that did the trick for me, so now i'm using theDudes cupcake on a apps to sd command from MarcusMaximus. Thanks to all these guys, they rock from JF, LuciREM, MarcusMaximus and theDude. Hope it helps!
TheStudent said:
Yeah I Get What Your Saying I Have Like 59MB Free But I Don't Have Apps Installed To SD-Card. I Would Love If T-Mobile/HTC Made An Update Where We Could Just Use Our Memory Card To Save Apps And Data/Cache Without Rooting It, That Would Be Insanely Crazy I Have A 8GB SD-Card But I'm Not Sure It It's Class 6 Dam, Bought It For Nothing.
Click to expand...
Click to collapse
I agree with u, but im wondering if it would be possible to install apps directly to the SD card, i hope google can do something to make it work. If tried allocating my apps to my sd card twice and i failed, the first time it seems i got success but after i while, applications like ahome forced me to close, which was not good, not only with this one, so then i thought maybe it would be good idea to reboot the phone so i turned off and when i turned on, it got stuck in the splash image, buu anyway i fixed by deleting my ext2 partition and rebooting my phone with another build...after a while i tried to make a partition using only the phone and running some command...and i got the same problem, so i guess allocating app2sd doesnt work for me .Anyway the internal space still is not a problem for me cause i have 71apps with 20Mb free..not so much i know....im still having JFv1.42 RC33 but i guess i will move to dude .8 build i heard a lot about that build...so seems to work good for now...but people are demanding many things from his build. What im happy is to be part of this community cause when i got the problem with my phone i couldn't use it for 2 days, i didn't know what to do..and was asking questions to everyone, but i guess everything is in this forum, we just have to read, i learned a lot thanks to the contributions of guy like you, that share experiences with their phones...thank u guys and of course to the developers that make android be better.
Greetings from Peru

[Q] Apps to SD

Refering to this post Apps to SD, I have some doubts.
1. Is this similar to the 2GB inaccessible partition on Nexus S ?
2. Is that partition ext3 ?
3. Do apps get installed directly on that and I don't have to install apps on sd as explained in that post ever ?
4. If no, will creating partition and installing apps on it slow down the phone ?
I installed lots of apps from market yesterday so thinking of these things as I have read that installing many apps may slow down the phone.
please clarify my doubts
Have you gone to Settings, Applications and checked how much of your internal memory you're actually using? There's a little bar graph at the bottom of the first screen.
I've got over 130 apps installed and still have almost 600mb free. For most users, on the NS, app storage space isn't going to be a concern. We've got 1gb internal for that.
Also, many apps can be pushed to your sdcard without any hacks required.
The old school apps2sd involves repartioning your sdcard, formatting part of it ext4, then creating symlinks to move apps to the sdcard.
Seems like a lot of work unless you're really short of space already.
All partitions on the internal storage space are ext4 or yaffs2...no ext3 on the NS stock,
Thanks. So I shouldnt be really about that
But will installing many apps slow down my phone ? How do I stop some apps from starting automatically in the background ?
suhas_sm said:
Thanks. So I shouldnt be really about that
But will installing many apps slow down my phone ? How do I stop some apps from starting automatically in the background ?
Click to expand...
Click to collapse
I wouldn't worry about it until it becomes a problem, if you know what I mean. If you install a lot of BIG game applications that don't let you move to sdcard from the Applications manager, you might start to run out of room, but I've only seen one person in this forum state that he was filling cramped, and he has 300+ apps, including large games if I recall correctly.
Having a bunch of apps installed should not slow down your phone just because they're installed.
If a bunch of them are active in the background either intentionally or not, that might cause some slow down, but it's just not a real problem on Android 2.2+ in my experience.
Android's memory intentionally loads apps up in advance so they're ready and waiting when you want to use them. They usually just sit there using zero cpu until you give them something to do. It is best to avoid TASK KILLERS, they will screw you up more than help you in general.
If you really feel the need to stop certain apps from being loaded automatically at the phone's discretion, there's an app called AutoStarts in the Market that lets you block apps from loading automatically. There are other apps like that one. They require you to be rooted to use them.

[Q] Disk reading/writing speed on my NS becoming slower and slower

Hi everyone,
I've been using my NS (not rooted) for 4 months straight without wiping the data on it, and now its reading and writing speed gets horribly slow. App updates become sluggish and sometimes fail, and some actions like searching contacts or moving apps from internal memory to sd now take much longer than they used to. Just wonder how I can fix this problem?
Thanks a lot!
Its possible your caches are quite large. 1-tap clean cache works good without root. Another possibility is your storage space is getting full. Unload some of that stuff onto a computer. Maybe you've got a boat load of apps installed. Uninstall stuff you don't use everyday or every other day. Maybe apps are slowing you down. There might be some cpu hogs or stuff that wants to run all the time. Another culprit is lots of small files in storage. When you boot, it scans the card and if there's lots of small files, its going to take awhile to scan them. Its doubtful but possible that the ram is going bad. That's my suggestions.
oscarthegrouch said:
Its possible your caches are quite large. 1-tap clean cache works good without root. Another possibility is your storage space is getting full. Unload some of that stuff onto a computer. Maybe you've got a boat load of apps installed. Uninstall stuff you don't use everyday or every other day. Maybe apps are slowing you down. There might be some cpu hogs or stuff that wants to run all the time. Another culprit is lots of small files in storage. When you boot, it scans the card and if there's lots of small files, its going to take awhile to scan them. Its doubtful but possible that the ram is going bad. That's my suggestions.
Click to expand...
Click to collapse
Thanks for the reply oscarthegrouch! I usually clean app cache once in a while and the internal/external storage is only about 50% full. I think the problem might be that I installed many apps and always did app2sd when possible, which could create a lot of small files. I tried cut-and-paste the stuff on the external storage (as some sort of defragmentation) but it didn't really boost up the speed. And since my phone is not rooted I can't access the internal storage.
P.S. I installed way more apps on my iTouch and it didn't slow down like my NS. Got no idea why this whole problem is happening...
maybe it's a free memory issue ?
my device is always busy with kswapd0 and runs very slow than.

Low internal storage (surprise!)

So I've spent the past day re-searching all over these forums and on the internet trying to find a way to get past the low internal storage issue. From what I've read, I read that it is able to install your applications on your SD, which is what I do. However my internal storage still fills up somehow. So I assumed this is the application's data that cannot be moved from internal to SD.
However, further reading has brought me to partitioning and I tried installing several different ROMs on my Chacha, then using CWN Recovery I partitioned my SD which I thought would result in being able to move applications AND the data completely to the SD partition. However, using Link2SD or App2SD and even Darktremor, my internal memory still keeps filling up.
Am I doing something wrong? Or if all this fails, is there anyway to completely omit the use of the internal storage and run everything from my SD?
The fact I can only install like 6 applications is driving me up the wall. Thank you.
Use SuperOSR with Darktremor.
The only way of getting space back with the stock ROM is by resetting your phone to factory data. Otherwise, use CWM to clear the dalvik-cache when needed.
Hi there.
I found it very frustrating to run quickly out of storage as well.
Since a few weeks I use TitaniumBackup on this application rocks! It allows to move any application and its data to the SD. It even allows to integrate the updates into the ROM. The application is not free but cost only about 50HKD (abt 5EUR) and considering the great job it does it is more than worth it!
Hope this can help.
BR
Really? Titanium Backup does that? Wow, fascinating.

1.2gb of space available but cant install apps

Hi, i am tired and stressed from researching, i cannot find a solution to this problem and i have come here for professional help.
The problem, i was going to install a game(32mb) through google play, and when the download finishes i get the insufficient storage message which is weird considering i always watch and keep track of my storage space, so i clear some cache and decide to download and once again i get the message, this time i decide to delete useless stuff via CCleaner lite and delete useless apps, i download again, and no space message again, i checked my total available space and it says 1.2gb
id place some screenshots but i have another problem with phone that makes me unable to browse my phone via usb on pc's or laptops
im going to check this thread every day, i really need the help, thanks in advance.
A few things to keep in mind:
1. I wont keep uninstalling apps, it works but i cant uninstall important ones
2. I already deleted all of the cache. literally every solution i researched told me obvious stuff i have already done
3. I wont uninstall photos or files
4. Remember i have ''1.2gb of available space'' so no need to do any of the above
5. I acknowledge that sometimes phones might prevent you from downloading apps just to save some space for cache and app data
6. I have a sd card(2gb) but my phone doesnt have the option to move apps to external space and i cant force it even through root
7. I have android 4.0.4
8. My phone is rooted, but its kinda broken(''kingo'' root, not to be confused by ''king'' root), every time the phone restarts or turns off something makes the main root app(the ones that grants root permission to other apps) to get corrupted and not start up(crashes on start) making me having to reinstall it using a backup
1337Potato said:
Hi, i am tired and stressed from researching, i cannot find a solution to this problem and i have come here for professional help.
The problem, i was going to install a game(32mb) through google play, and when the download finishes i get the insufficient storage message which is weird considering i always watch and keep track of my storage space, so i clear some cache and decide to download and once again i get the message, this time i decide to delete useless stuff via CCleaner lite and delete useless apps, i download again, and no space message again, i checked my total available space and it says 1.2gb
id place some screenshots but i have another problem with phone that makes me unable to browse my phone via usb on pc's or laptops
im going to check this thread every day, i really need the help, thanks in advance.
A few things to keep in mind:
1. I wont keep uninstalling apps, it works but i cant uninstall important ones
2. I already deleted all of the cache. literally every solution i researched told me obvious stuff i have already done
3. I wont uninstall photos or files
4. Remember i have ''1.2gb of available space'' so no need to do any of the above
5. I acknowledge that sometimes phones might prevent you from downloading apps just to save some space for cache and app data
6. I have a sd card(2gb) but my phone doesnt have the option to move apps to external space and i cant force it even through root
7. I have android 4.0.4
8. My phone is rooted, but its kinda broken(''kingo'' root, not to be confused by ''king'' root), every time the phone restarts or turns off something makes the main root app(the ones that grants root permission to other apps) to get corrupted and not start up(crashes on start) making me having to reinstall it using a backup
Click to expand...
Click to collapse
You have plenty of storage but that doesn't mean you have room for apps because apps are installed in /data partition, there is a difference. You have storage space but only a portion of it is allocated as space for apps, the rest is storage. You can repartition the device to give your /data partition more available space. Do not repartition your device unless you understand exactly what you are doing.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
You have plenty of storage but that doesn't mean you have room for apps because apps are installed in /data partition, there is a difference. You have storage space but only a portion of it is allocated as space for apps, the rest is storage. You can repartition the device to give your /data partition more available space. Do not repartition your device unless you understand exactly what you are doing.
Click to expand...
Click to collapse
I know, but before i could keep installing apps until i had 200mb of space left for app storage, why would it be different now, i have a total of 2gb internal storage small i know, but still no reason to stop being able of installing apps at 1gb left, makes no sense, and i'll research about repartition carefully if there isnt another good answer to my problem
1337Potato said:
I know, but before i could keep installing apps until i had 200mb of space left for app storage, why would it be different now, i have a total of 2gb internal storage small i know, but still no reason to stop being able of installing apps at 1gb left, makes no sense, and i'll research about repartition carefully if there isnt another good answer to my problem
Click to expand...
Click to collapse
You might be full of app data from apps you've uninstalled, uninstalled apps can leave data behind, look in your Android/data folder. You might also be storing logs somewhere taking up space.
Have you used any apps to analyze your internal storage? It should tell you everything you have stored there, files sizes and locations.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
You might be full of app data from apps you've uninstalled, uninstalled apps can leave data behind, look in your Android/data folder. You might also be storing logs somewhere taking up space.
Click to expand...
Click to collapse
It turns out there was an odex files messing with the instalation, when deleted them i could start installing again, sorry for the trouble and thanks for the help!

Categories

Resources