Insufficient Memory Error - Desire General

Having just run through applying the CyanogenMod 10.1(by vijendrahs - refere below) to 4.2.2 on my HTC Desire, I've now come across the above error with some of the applications that I've been trying to install.
I've partitioned my SD card and am running mounts2sd and am using link2sd. I've also downloaded and have tried the marketfix app. I've also tried killing apps and restarting the phone none of which seem to make a difference.
The research I've done indicates that this is appears to have something to do with memory. What I've noticed is that there doesn't seem to be any particular pattern to those apps that will install and those that won't. For example the Tasks app won't install nor will Yahoo but Skype, Maps, and Gmail installed fine.
I am beginning to suspect that the error message might not actually reflect the problem that is being reported. Is there a tool or some debugging routine that I can run to expose any further insights into this?
http://forum.xda-developers.com/showthread.php?t=2070704

Why did u use mounts2sd or link2sd if in threat is recommend a2sd in terminal? I used this ROM with a2sd and all was fine, no any error according memory.

Vijendrah's JB 4.2.2 has build in A2SD. Just open Terminal Emulator from menu and type:
"#su" then hit Enter;
"#a2sd" install then hit Enter;
"Y" then Enter when first question pops-up;
"N" then Enter when second question pops-up;
"Y" then Enter when third question pops-up.
Note: type only what's inside the commas.

Thanks for the replies. In my defense, it was my first attempt at a ROM flash and I probably didn't follow the instructions properly. I I'll try a re-flash over the weekend and see how that goes.
That said, I still think that the error message is misleading unless there is something in the installation routines for those apps that is validating for a minimum amount of available RAM.

Two ideas:
1.Android will give you that error when you try to reinstall app which you tampered with using lucky patcher try running it once before attempting to install and it will remove any leftover odex files it is responsible for.
2.Or the original a2sd script is messing up link2sd, try removing 10apps2sd from system/etc/init.d with root explorer or es file explorer. Reinstall link2sd afterwards.
3.you are simply running out of internal memory, link2sd leaves dalvik in there. You can explore your sdext with es file explorer and see what's going on there or use 'df' command in terminal emulator to check if there really is no space left in internal or sdext

freebird24h said:
Two ideas:
1.Android will give you that error when you try to reinstall app which you tampered with using lucky patcher try running it once before attempting to install and it will remove any leftover odex files it is responsible for.
2.Or the original a2sd script is messing up link2sd, try removing 10apps2sd from system/etc/init.d with root explorer or es file explorer. Reinstall link2sd afterwards.
3.you are simply running out of internal memory, link2sd leaves dalvik in there. You can explore your sdext with es file explorer and see what's going on there or use 'df' command in terminal emulator to check if there really is no space left in internal or sdext
Click to expand...
Click to collapse
Curious. I reran a2sd and answered no to the second question regarding data. Upon reboot, I was able to install apps that previously failed. On the downside, I've lost the home key!

I use MildWild

Related

A2SD+ Rom & Force install into internal memory

Hey all. Can't post in the development forum therefore I'll post here.
I have a Leedroid 2.5 A2SD+ rom but this should apply to all A2SD roms.
What I want to do is to force install the software onto the internal memory. I've tried googling and playing around with it myself without any luck. I've ran ADB in recovery and I can't even push the app into "/data/app" since it directs it to "system/sd/app" which is my ext partition.
Is there anyway to do this or I am out of luck ? The reason behind this is that my Handcent is glitching and there is a delay in notifications (vibrate > sound> LED) This started only after I install LeeDroid A2SD+ rom so I have a feeling that my SD card is slowing things down.
Hopefully someone has an idea about this.
Have you tried spareparts, install it, you'll have an option where to install apps, then set it on internal, may work..
I do have Spareparts, it already comes with LeeDroid but I can't see any options that relate to what you've mentioned.
http://forum.xda-developers.com/showthread.php?t=702997
There are 2 SpareParts, use the one in the link. The second option is app2sd, click on it and choose internal.
Hey, I've tried it but it doesnt seem to work.It still installs onto the SDcard. Hmm...i am stumped, cuz there is gotta be a way to force install an app onto internal memory..
hi,
there is some commando would managed this
=> adb shell pm setInstallLocation 1
more info into leedroid wiki =>
http://leedroid.com/bravo-wiki/prevent-any-all-apks-from-installing-to-sd-card
hope this help
Grrr.... Can't figure it out.
Nothing seems to work. I've tried the guide on the Leedroid Wiki with no luck, I've tried Titanium Backup thing that you have mentioned in the other thread. Doesn't work either. The only thing I don't get is how to remount the sd-ext partition, because in the comments of the Leedroid Wiki, that's what made it work for one of the users. I've tried remounting in CWM(ClockWorksMod) but that didn't work.
SpareParts essentially does that command setInstallLocation 1 but in GUI mod. I am lost.
I've tried using that "pm" command to install onto internal flash since there are commands that apparently allow you too but it still installs onto the SDcard. I am just wondering, is there anyway to temproraly disable App2SD script ?
hi,
if you can't get sorted like this, maybe Darktremor app2sd script wil help you, never tried as i m using data++ rom but here is the complete thread... hope for you that will help.
therez a long explication of how it s working and how to apply this on your current rom.
be sure to get root rights
http://forum.xda-developers.com/showthread.php?t=715116
hoep this help
Thanks for your help. I took a different route by pushing the APK onto the /system partition. I had 20mb left so it was enough for an app.
Thanks for all the help))

[Q] ICS for Desire [Sandvold]

Hi,
First i will say thanks for the great rom, i will try it asap (a little bit more stable)
i read about this rom in the topic since it was started .
i have some Questions, it will be my first "clean" Android (without Sense)
There should be a installer after first start of the rom after flash? Where can i found more information about the things i can chose?
Evervolv toolbox, is that an addtional Settings Dialog with more Options or still a app which can be used as "standalone"
(sorry for the bad english)
When you install it you will get some options to choose a launcher and a2sd-script.
On first start you won't get the app to set your g-acc and so on, you'll have to do that in the system settings.
And the Evervolv-Toolbox are additional settings the this rom it's not a standalone app.
Hope this helps
grtz
Please note that Sandvold ICS v. 0.4.2.1 has some stability problems at the moment. Many people experience "black screen of death", device fails to turn on screen after a period of inactivity, battery has to be removed to reboot. I found that raising the minimum CPU speed from 245mhz to 384mhz completely removes this problem. With this small tweak the rom is great! You *should* be able to change this setting with Evervolv toolbox, sadly it does not work. For some reason the toolbox runs with insufficient rights to tweak cpu speed, I did my own scripts to set cpu speed from the console instead.
cheers
/Stig
stig_dk said:
Please note that Sandvold ICS v. 0.4.2.1 has some stability problems at the moment. Many people experience "black screen of death", device fails to turn on screen after a period of inactivity, battery has to be removed to reboot. I found that raising the minimum CPU speed from 245mhz to 384mhz completely removes this problem. With this small tweak the rom is great! You *should* be able to change this setting with Evervolv toolbox, sadly it does not work. For some reason the toolbox runs with insufficient rights to tweak cpu speed, I did my own scripts to set cpu speed from the console instead.
cheers
/Stig
Click to expand...
Click to collapse
Black-screen-issues can be solved by flashing MIUI-kernel:
http://www.miui-au.com/wp-content/plugins/download-monitor/download.php?id=166
Hi! I use ICS since beta 0.3.9 and I'm now updated to 0.4.4
This release seem very stable now. Just remember that the camera preview doesn't work. Also, you might have some problem with MMS.
App space problem
Hello - some help for a newbie please (well Desire newbie)...
I did try reading though Sandvolds thread, and I have tried to remedy, but I don't seem to get much further ....
I am running an ICS beta on my tablet, so I thought it would be interesting to try it on my Desire too. On the tablet there is more memory, so I have never experienced space problems with apps.
I rooted the Desire OK - and flashed 0.4.2.1 ... ran fairly smoothly, but hit space problems when trying to load up some of my favourite apps. I have a 16gb sd card. I downloaded apps2sd from the market - and moved some of the apps. However still not able to update some system apps from the market due to insufficient space (even though there appears to be enough).
Reading the other thread, I have gathered some/little understanding... and so before flashing 0.4.4 I reformatted my SD card from recovery choosing the largest ext4 that I could.
I was then ready to go to try 0.4.4.
On trying the Amarullz script and Nova launcher - I was having lots of lag after boot and I kept getting prompted to enter PIN number and reboot the phone. (I had done a factory wipe and cleared Dalvik after flashing the ROM).
I then reflashed choose Apex launcher, stock Kernal and data2sd option.
I wiped after flashing, did a few waits and reboots - as others recommended this.
Now seems to run quite smoothly, I have added back a bunch of apps via Titanium Backup ... but I don't see any apps 'automatically' being moved to sd card. I have moved as many as I can manually.
But I can also see that I am going to run out of space again soon ....
If I look in the settings at storage I see...
Internal storage - Apps 104MB Available 26.86MB
SD Card - Apps 239MB
Am I doing anything wrong?
Looloup said:
Hello - some help for a newbie please (well Desire newbie)...
I did try reading though Sandvolds thread, and I have tried to remedy, but I don't seem to get much further ....
I am running an ICS beta on my tablet, so I thought it would be interesting to try it on my Desire too. On the tablet there is more memory, so I have never experienced space problems with apps.
I rooted the Desire OK - and flashed 0.4.2.1 ... ran fairly smoothly, but hit space problems when trying to load up some of my favourite apps. I have a 16gb sd card. I downloaded apps2sd from the market - and moved some of the apps. However still not able to update some system apps from the market due to insufficient space (even though there appears to be enough).
Reading the other thread, I have gathered some/little understanding... and so before flashing 0.4.4 I reformatted my SD card from recovery choosing the largest ext4 that I could.
I was then ready to go to try 0.4.4.
On trying the Amarullz script and Nova launcher - I was having lots of lag after boot and I kept getting prompted to enter PIN number and reboot the phone. (I had done a factory wipe and cleared Dalvik after flashing the ROM).
I then reflashed choose Apex launcher, stock Kernal and data2sd option.
I wiped after flashing, did a few waits and reboots - as others recommended this.
Now seems to run quite smoothly, I have added back a bunch of apps via Titanium Backup ... but I don't see any apps 'automatically' being moved to sd card. I have moved as many as I can manually.
But I can also see that I am going to run out of space again soon ....
If I look in the settings at storage I see...
Internal storage - Apps 104MB Available 26.86MB
SD Card - Apps 239MB
Am I doing anything wrong?
Click to expand...
Click to collapse
1). www.revolutionary.io use this
2). www.alpharev.com download cm7r2.img
3). flash the hboot
Code:
fastboot flash hboot hboot.img
4). re-flash 4.4 and choose stock a2sd
5. enable a2sd
Code:
su
a2sd install
#choose settings#
Thanks for quick response..... I have a fee more questions....
I originally rooted my Desire via revolutionary .... do I need to do it again?
I guess I then flash the zip file.
The fastboot command - can I do this from the terminal app?
hi,
fastboot command and adb must be running from computer.
you need to instal sdk android sdk android
if you run revolutionary, u don t need to do once again but to flash an hboot you must be Soffed.
dunno if revolutionary does the job... i used alpharev to do son gain S-offed and able to flash hboot from fastboot command.
I saw the option to install agps in the installer but i chose gps. How can i add the agps when i already installed the rom? Because getting gps fix in navigation is taking way to long, so long that i abort it while trying
Getting closer
@bortak
1. Done OK
2. Done OK
3. Done OK
4. Done ... BUT ... no Gapps, no Terminal app ... not much really not even a keyboard (even after 2 reboots)
- The link to Gapps for CM7r2 no longer works
5. Unable to try this as no Terminal app ... and I can't get ADB working on my PC.
where have my apps gone?
So I can't get cm7r2 to work, so I reflashed hboot back to standard, I then reflashed 0.4.4 choosing stock a2sd. I installed a2sd via terminal and moved cache too. After reboot I installed a bunch of apps .... and eventually ran out of space - as if apps not being moved.
I then rebooted, and all of the apps except the paid apps have gone. I installed a couple of apps from the. Market and they have also gone after reboot.
I turned a2sd off, then I was able to keep apps over a reboot ..... but I would like to get a2sd working.
Any ideas?
For now I am manually moving apps to SD card.
Sorry for this question...
Your 3G, Wifi is working.. My wifi, 3G is not working..
3g (once APN set up) and wifi both working well
Looloup said:
@bortak
1. Done OK
2. Done OK
3. Done OK
4. Done ... BUT ... no Gapps, no Terminal app ... not much really not even a keyboard (even after 2 reboots)
- The link to Gapps for CM7r2 no longer works
5. Unable to try this as no Terminal app ... and I can't get ADB working on my PC.
Click to expand...
Click to collapse
Did you do a wipe after flashing the rom? I had a similar problem when doing that. CWM Recovery also deletes the sd-ext partition, and as on cm7r2 there are also system apps on sd-ext, they are gone.
With the included a2sd apps should be moved to sd-ext automatically. It is not shown on the phone.
How big is your ext4 partition? And did you create it with CWM Recovery? If so, try recreating with gPartEd.
muellersmattes said:
Did you do a wipe after flashing the rom? I had a similar problem when doing that. CWM Recovery also deletes the sd-ext partition, and as on cm7r2 there are also system apps on sd-ext, they are gone.
With the included a2sd apps should be moved to sd-ext automatically. It is not shown on the phone.
How big is your ext4 partition? And did you create it with CWM Recovery? If so, try recreating with gPartEd.
Click to expand...
Click to collapse
This.
10chars
I created the extra partition via CWM recovery - maybe too large as I made it 4gb.
I wiped the device and Dalvik cache after flashing the ROM.
I then set a2sd via terminal and allowed reboot.
I then downloaded apps (or restored via Titanium)
Eventually ran out of space when downloading apps - so they were not being moved.
Apps run OK.
When I did a normal reboot - the apps 'disappeared '.
Reading Bortaks debug guide the only thing I can see that looks relevant is to try reformatting the SC card with 2 primary partitions.
Read what i wrote? Do the following:
1) Recreate the partitions on your sdcard using GParted
2) Do a full wipe BEFORE flashing.
3) Re-flash the rom and select stock a2sd
4) Do NOT wipe again
4) Reboot, start Terminal emulator, set up a2sd
5) See if apps stay
On my first try I selected stock A2SD and set it up as explained using the terminal. (using a 2GB ext3 partition, placed after FAT32)
I rebooted and everything seemed fine, and I installed several apps. After a while, though, I got the "insufficient storage" error whenever I tried to install something. In the application manager the internal memory available had a large negative value.
I then wiped everything, reformated the 2GB ext3 partition to ext4, using "Minitool parition wizard" and reinstalled the Sandvold ICS ROM with Amarullz. Everything seems fine, and it shows 2GB internal memory. However, I've noticed that the ROM gets more unstable the more apps I install (it shows 500MB installed apps now, after removing around 50MB)...
Most of the time what happens is that system apps start crashing (Google Music, Dialler, Contacts, etc.) out of nowhere. After a while normal apps crash on execution as well. Google music is useless, as it crashes after a few songs and brings down the whole phone. Other music apps don't have this problem.
Am I doing anything wrong with the way I set up Amarullz? Should I retry stock A2SD with ext4?
I'm using stock HBOOT, Nova launcher and stock kernel.
Got there ..... but.....
After repartitioning my SD card for the third time ... I finally have this working.
Thanks to all for help/advice ..... but (isn't there always a but) ....
Downloads from the Market/Play are extremely slow maybe 5+ times the same apps took before .... I have tried on different WiFi connections - still the same.
Is this a consequence of the write speed of my SD card (it is only class 4) ... I did see a post in another thread where a class 4 wasn't recommended, but this was refuted by others using a class 4 card.
Otherwise all apps seem to be running OK, with no real loss of performance.
I guess once I have finally loaded up on all the apps I want, the Play updates will be more infrequent and less of an issue.

Storage issues with Link2SD

I've rooted my phone about a week ago and have been fiddling around with all the different things i can do with the phone, but my main reason for doing it was to help with the crap internal storage it has. So i got Link2SD setup and partitioned my SD card with a second ex2 partition, and for a while it will work well, i will have around 70-80mb listed as free on my internal but that won't really change much even when adding and linking new files with l2sd, but lately i've been running into a problem where it will drop down to 10-20 mb and just stay there. I've already tried formatting and doing a clean install which will fix it for a day or so, but it keeps dropping low and staying there even when i delete things to clean up space. I've clean installed 4 times already with the same effect, and now it's getting annoying since i started fresh yesterday and had the issue come up almost instantly, wiped again and now i'm already back at the same spot.. is there some folder that is filling up that i'm unaware of? I'm just very confused about this issue now hah, any help would be greatly appreciated
Link2sd doesn't prevent your phone from thinking that internal storage is full, I think.
I'd recommend trying s2e instead.
-----------
"You can overclock as much as you want, your phone will always seem too slow."
hmm, s2e won't run on stock rom will it? i think i've read that it will only run on cm7/9
Hmm. When I was new to link 2 sd I had same problem. Don't worry I got a fix. ^_^
1.Uninstall stupid system apps you don't use. We need to make space in system partition.
2. Download titanium backup and when u open it. Go to options select integrate davlic cache into rom. It'll take few minutes, when it's complete reboot.
3. Make sure all files are linked.
4. Clear cache occasionally.
5. If you still are low on space you may use this command as the last option.
Warning: you may have to reboot phone after installing a new app to run it for first time.
Go to terminal
Type 'su'
Accept superuser request.
Type 'a2sd cachesd'
Phone will reboot and may take some time to start.
6. That should be it. I'm running cm9 with link 2 sd and I have more than 100 apps still I got 75 mb free.
Sent from my Wildfire S A510e using xda app-developers app
When you flash a new rom, make sure first thing you do is installation of Link2SD.
Tick auto link on it, and then install whatever you want.
It's how I solved that problem.
Now I have 107 apps installed with Link2SD, and around ~40mb of free internal space.
Sent from my HTC Wildfire S A510e using xda premium
Try deleting files in /data/tombstones (if there is any), using a file explorer.
Many apps will save their data in your internal memory, even if they're linked to your SD. There are some programs (like S2E) that can move all your data to your SD but you may loose performance if you don't have a fast SD. One alternative is using Titanium Backup to move to SD data of individual apps, this way you can keep in your internal memory the data you want to access quickly (ie your contacts) and you move to SD all the other data. The process is reversible and if you think it slows down too much a specifc app you can move back its data to internal memory.
To do dat you have to go to "Copy/Restore" in Titanium Backup, long-press one app and scroll down until you find the option "Move app data to SD".
This way I've been able to save about 60 MB of additional internal memory and I haven't noticed any change in performance.
An additional advantage is that this Titanium Backup feature is available in the free version; the Dalvik cache integration proposed in a previous post is locked if you don't have PRO version.
Linking /data/data app files for free?
Ferri64 said:
To do dat you have to go to "Copy/Restore" in Titanium Backup, long-press one app and scroll down until you find the option "Move app data to SD".
Click to expand...
Click to collapse
Hi,
Can anyone confirm if this is still true. I've just installed Titanium Backup Free v5.5.2 and in the "Backup/Restore" screen I follow the instructions above and see a 'Move to SD card' option, but no 'Move app data to SD' option. Choosing the 'Move to SD card' option does not move the app data. Is it still available in the free app?
I'm very happy with link2sd with my stock rom HTC Wildfire S except that it doesn't offer me the ability to selectively link /data/data application files. Perhaps there's another linking app that does a more complete job? I've seen this thread mention simple2ext but that seems to require Cyanogenmod.
Cheers,
Mark
marky1124 said:
Hi,
Can anyone confirm if this is still true. I've just installed Titanium Backup Free v5.5.2 and in the "Backup/Restore" screen I follow the instructions above and see a 'Move to SD card' option, but no 'Move app data to SD' option.
Click to expand...
Click to collapse
I can provide an answer to my own question here. It turns out that the 'Move app data to sd card' option only appears if Titanium Backup sees a valid mount point, as per this documentation: http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-technical-faq.html#requirements-for-using-move-app-data-to-sd
If you have a phone like mine (Wildfire S, stock rom v2.3.5) then you don't have one of the TB supported mount points so you have to create it yourself using Terminal Emulator and Busybox
e.g.
Code:
$ su
# ln -s /data/sdext2 /data/sd
# mkdir /data/sdext2/app
Also I've now discovered that for the functionality to work properly the second partition must be a unix filesystem type like ext2, ext3 or ext4, but not vfat (FAT32) since that doesn't allow TB to create symbolic links.
There's more discussion of this and gory details on this thread
Cheers,
Mark
Help
sukhjit321 said:
Hmm. When I was new to link 2 sd I had same problem. Don't worry I got a fix. ^_^
5. If you still are low on space you may use this command as the last option.
Warning: you may have to reboot phone after installing a new app to run it for first time.
Go to terminal
Type 'su'
Accept superuser request.
Type 'a2sd cachesd'
Phone will reboot and may take some time to start.
Click to expand...
Click to collapse
Brother u are a life saver, I just followed your syntax and it worked like charm. I am now having 98 mb of internal memory from 38mb.
But have Couple of question for u....
1. Can u tell me if I have to run this command again and again after installing new apps or will it work on its own if once executed?
2. I have link2sd installed before this command and have linked all the files to 2nd partion of my sd card.
Is it safe to uninstall link2sd app now?
Rahul2929 said:
Brother u are a life saver, I just followed your syntax and it worked like charm. I am now having 98 mb of internal memory from 38mb.
But have Couple of question for u....
1. Can u tell me if I have to run this command again and again after installing new apps or will it work on its own if once executed?
2. I have link2sd installed before this command and have linked all the files to 2nd partion of my sd card.
Is it safe to uninstall link2sd app now?
Click to expand...
Click to collapse
1. You only need this command again when the memory runs way too low. Don't try it again coz it reduces performance too.
2. I guess you can/ I've never tried it tough.
I ran into problem with your command...it force closes some of my apps which I noticed later ....
Sent from my HTC Wildfire S A510e using xda premium
I had the same problem a while ago that i had to reflash the rom because apps were force closing all the time
The reason this happened was because i downloaded several apps at the same time, so Link2SD didnt had enough time to link all files
and the internal memory became full and went crazy
the only solution for me was deleting all apps and reinstalling them
so my recommendation would be not to download more than 1 app at the same time, wait for Link2SD to link files, and then download the next one
Actually I did that I did a factory reset and then ran the command..bt after that my internal apps was also force closing like playstore,etc
Sent from my HTC Wildfire S A510e using xda premium
I think Link2sd and DTa2sd can't run at the same time. You'll be get FC everytime install new apps.
Sent from MARVEL JellyScream
stupid but effective method
ocnDaNN said:
I've rooted my phone about a week ago and have been fiddling around with all the different things i can do with the phone, but my main reason for doing it was to help with the crap internal storage it has. So i got Link2SD setup and partitioned my SD card with a second ex2 partition, and for a while it will work well, i will have around 70-80mb listed as free on my internal but that won't really change much even when adding and linking new files with l2sd, but lately i've been running into a problem where it will drop down to 10-20 mb and just stay there. I've already tried formatting and doing a clean install which will fix it for a day or so, but it keeps dropping low and staying there even when i delete things to clean up space. I've clean installed 4 times already with the same effect, and now it's getting annoying since i started fresh yesterday and had the issue come up almost instantly, wiped again and now i'm already back at the same spot.. is there some folder that is filling up that i'm unaware of? I'm just very confused about this issue now hah, any help would be greatly appreciated
Click to expand...
Click to collapse
i have the same problem and the solution (2 steps) is a bit stupid but here it is:
1 - go into (manage applications) in settings and wait till it calculate the storage of every app (under every app's name), where you will find that the memore increased usually from 12 mb to abou 20 mb.
2 - you have to go into link2sd app and do one of these 3 things:
1. link library files
2. link dalvic cache files
3. clear cache (not clear dalvic cache)
one of these options or more will do the track. now check storage and you will find more 30 or 40 mb
if anyone know a good application that links data too, i'l be very thankful
I am using link2sd with ext3 partition created through cwm recovery after re booting some apps disappear and i have to install them again
Any fix?
Sent from my HTC Wildfire S A510e using xda app-developers app

[Root] NookManager - graphical rooter for 1.2.x and beyond

This is a graphical, interactive rooting system with the ability to create/restore backups and factory settings.
This has been tested on systems 1.1.5, 1.2.0 (US/UK), and 1.2.1. It will probably work on earlier versions and should be safe to use on future versions. For best results, however, you should be on 1.2.1 before using this tool.
If you've tried rooting your nook unsuccessfully with another utility, it's best to do a factory restore (from NookManager, choose the "Rescue" option and then "Restore factory.zip") and, if your nook came with older firmware, upgrade to the latest 1.2.1 firmware.
Features:
Root your Nook
Backup/Restore
Restore to factory settings
Disable B&N Apps
Custom plugins
How to root:
1. Download NookManager.
2. Unzip the file you downloaded and write the NookManager.img file to an empty SD card. On Windows, you can use disk imager. Linux and mac users can use dd.
Use a real SD card adapter when writing the image, DO NOT USE YOUR NOOK AS THE SDCARD ADAPTER.
If possible, you should use a dedicated SD card for the NookManager image (so you can easily restore from a backup should you ever screw up your Nook). A 512Mb card is big enough for the NookManager image plus a backup of your Nook.​
3. Power off your Nook, insert the SD card and power on.
You should see the NookManager boot screen followed within 15 seconds by the welcome screen.​
4. Choose "No, continue without wireless"
the wireless option is for advanced users looking to connect directly to their device​
5. Make a backup using NookManager! Choose "Rescue" then "Backup" then "Format remaining space on SD card" and finally "Create backup"
Because NookManager cleans the empty space on the Nooks' internal partitions and compresses the backup, it will take at least 15 minutes (and up to 45 minutes) for the backup to complete. Be patient. The final backup file can be as small as only be a few hundred megabytes, depending on the number of downloaded or sideloaded books you have.​
6. Copy the backup image to your computer. Connect your Nook to your computer using the USB cable. Copy the 'backup.full.tgz' and 'backup.full.md5' files from the NookBackup drive to your computer.
This is your backup in case anything happens to your SD card. This backup is tied to your individual Nook so keep it safe. It's important to copy this file while your Nook is still booted from the SD card because Windows will normally hide the NookBackup partition on the SD card. If you ever need access to the NookBackup partition again, just boot your Nook using the NookManager SD card and connect the Nook to your computer with the USB cable.​
7. Root! After your backup, press "Back" and "Back" to return to the Main Menu. Press "Root" and then "Root my device"
8. That's it! After rooting, pres "Back" and then "Exit". Remove the SD card and put it someplace safe, in case you need to restore to your backup later.
After rooting, you can install Google Apps using straygecko's excellent NTGAppsAttack package if you want to use Google Market/Gmail/Calendar/etc.
[/LIST]
Technical stuff:
The actual rooting function is minimal and as non-invasive as possible:
uRamdisk is patched to enable ADB
the internal database setting is changed to allow installation of non-market apps
the DroidSansFallback font is replaced with the updated font from jellybean to add support for extended characters
the su/Superuser binary/package is installed
Relaunch is installed
ADB Konnect is installed for enabling/disabling ADB over wireless
on systems running firmware 1.2+, the ModManager jars and package are installed
on 1.2+ systems, the PackageInstaller.apk from the 1.1.2 firmware is installed to resolve issues with package installers
and, finally, the Amazon appstore is installed just to have some easy way of downloading new apps. You can uninstall it using ReLaunch if you don't use it.
The uRamdisk patching is done with scripts rather than copying pre-compiled binaries, so this should be safe for all existing versions of the Nook firmware and (hopefully) will be forward compatible with any new releases.
The rooting procedure is non-destructive and can be run multiple times without causing problems.
Under the hood, this is a minimal linux environment with the nook drivers/binaries and a few core android binaries. The display is generated with imagemagick and written directly to the framebuffer.
If you're connecting to NookManager wirelessly over SSH, the username/password is root/root
Wherever possible, the parts of this system are compiled from source including the Linux kernel, uBoot, and all of the buildroot utilities. The hardware drivers and associated binaries are extracted from the 1.2.0 upgrade package.
The source for the project, including an automated buildscript is available at GitHub.
Support for custom menu items and scripts is documented here.
https://github.com/doozan/NookManager/downloads
NookManager.zip
17.9MB · Uploaded 14 hours ago
File was not found.
Click to expand...
Click to collapse
??
Weird. I deleted/re-upped the file and the download link seems to be working now.
ok..now it works. Thanks
Will this work with NoRefresh?
Thanks for the work on this - it was easy and worked great. And if you're planning to update, maybe add ES File Explorer or Titanium Backup in the pre-installed apps; that would make it easier to install apks directly from your SD card instead of having to do it over wireless adb. But thanks regardless.
Can confirm no refresh works great. Installed FBReader, Opera Mobile, ES File Explorer and Kindle app. Great
I just came from a firmware that had the ability to change the hardware buttons for page turning, any chance of this being added?
Thanks for this! Giving it a try.
Just curious though... I'm trying to create the backup of the device and it seems to take forever to format the free space. It also took forever to find the wireless network and I eventually just rebooted it. How long does it usually take?
I'm using a NST on 1.2.0 and have tried a 2GB Sandisk and a 8GB Dane-elec microsd card.
Gonna try redownloading and re-installing the image.
Install apk
Hi, i successfully root my NGL(1.2.0) but, if i try to install apk (Cool Reader) i got an error window "Out of space" and i'm almost sure it must be enough space to install, may someone can help with this ?
mobamoba said:
maybe add ES File Explorer or Titanium Backup in the pre-installed apps
Click to expand...
Click to collapse
Good suggestion, I've added ES File Explorer
Gvr4-330 said:
it seems to take forever to format the free space..and wifi
Click to expand...
Click to collapse
Thanks for reporting this. There was a glitch with the script that formats the SD card and with the wifi loading. Both issues have been fixed in the latest release.
asprin said:
if i try to install apk (Cool Reader) i got an error window "Out of space"
Click to expand...
Click to collapse
How are you trying to install the apk? I'm also using Cool Reader it installed with "adb install" and runs just fine. For best Nook compatibility, use coolreader 3.1.2-27 (12/11/2012 build) or later.
Originally Posted by asprin
if i try to install apk (Cool Reader) i got an error window "Out of space"
Click to expand...
Click to collapse
You get this error when you try to install application from an .apk file on sdcard or when you try to update application via it's built in updater.
ADB install works fine.
Good suggestion, I've added ES File Explorer
Click to expand...
Click to collapse
I use
Rhythm Software - File Manager
http://rhmsoft.com/?p=96
osowiecki said:
You get this error when you try to install application from an .apk file on sdcard or when you try to update
Click to expand...
Click to collapse
I'm not able to replicate this: I can copy coolreader to my sd card, and install it from there with no problems using ES File Explorer or ReLaunch. Maybe you really do have a disk space issue. Try openinng an adb shell and run "df -h" to see disk usage on your mounted partitions.
mobamoba said:
maybe add ES File Explorer
Click to expand...
Click to collapse
osowiecki said:
I use Rhythm Software - File Manager
Click to expand...
Click to collapse
It turns out you can install apks using the file browser in ReLaunch, so I'll be removing ES File Explorer in any future versions.
jeff_kz said:
I'm not able to replicate this: I can copy coolreader to my sd card, and install it from there with no problems using ES File Explorer or ReLaunch. Maybe you really do have a disk space issue. Try openinng an adb shell and run "df -h" to see disk usage on your mounted partitions.
It turns out you can install apks using the file browser in ReLaunch, so I'll be removing ES File Explorer in any future versions.
Click to expand...
Click to collapse
Thx for respond, mate, I tried install with file browser in ReLaunch from sd card, and i cant imagine that can be space issue cause i just start procedure after factory reset and rooting, anyway, thanks for tip, will try tomorrow install new build, and adb install. In general great work you did :good:
jeff_kz said:
I'm not able to replicate this: I can copy coolreader to my sd card, and install it from there with no problems using ES File Explorer or ReLaunch. Maybe you really do have a disk space issue. Try openinng an adb shell and run "df -h" to see disk usage on your mounted partitions.
It turns out you can install apks using the file browser in ReLaunch, so I'll be removing ES File Explorer in any future versions.
Click to expand...
Click to collapse
df :
/dev: 116452K total, 0K used, 116452K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/rom: 16116K total, 227K used, 15888K available (block size 512)
/system: 285583K total, 210922K used, 74661K available (block size 1024)
/data: 824424K total, 304344K used, 520080K available (block size 4096)
/cache: 237987K total, 4179K used, 233808K available (block size 1024)
/media: 245484K total, 40K used, 245444K available (block size 4096)
/sdcard: 31149680K total, 6924320K used, 24225360K available (block size 16384)
Are you using UK or US Nook?
I'm on US Nook FW 1.2 + v176 kernel
I'm able to reproduce the apk install problems now. The "Not enough free space" error is what android throws when the internal PackageManager can't create the temporary apk file. In this case, it turns out that it's a permissions-related read error from the sdcard. I don't know if this is a matter of the internal PackageManager not running with elevated permissions, or if it's that the sdcard is mounted too restrictively.
If I re-mount the sdcard without the restrictive permissions, I can install apks from the sdcard without any errors:
Code:
umount /sdcard
mount -t vfat /dev/block//vold/179:17 /sdcard
If anyone else has any ideas for making this work, I'm open to any suggestions. In the meantime, "adb install" works just fine for installing packages.
I really suggest grabbing Android Commander if you're new to adb to graphically install apps.
jeff_kz said:
Thanks for reporting this. There was a glitch with the script that formats the SD card and with the wifi loading. Both issues have been fixed in the latest release.
Click to expand...
Click to collapse
Thanks for the quick update. I'm going to try it out now and will report back. I'm very excited
It works! Thanks so much for this! Very easy way to root and backup.
With your tool now I use this to read comics, RSS and books. First I need to say thank you.
I installed "D7 Google Reader" and "Google Drive" which requires Google Login. How could I use this software? Thanks
Also I installed version 0.2, I saw 0.3 comes out. Can I just update 0.2 to 0.3 directly? Thanks
so glad I decided to check the nook thread. Finally BN apps gone . Thank You
hi all, anyone have test factory reset on nstg US ? my backup is corrupt.
Envoyé depuis mon GT-N7100 avec Tapatalk

Market: "Download was unsuccessful please try again"

I have SuperNova ROM on the phone (Supernova_2.4.0.1_signed.zip). I have root and S-OFF (stock HBOOT image). Now that I have finally found a ROM that expands my internal memory some of the apps don't want to install. So the situation is that most of the apps do install, but when I try to install some of them I get an error message right after the download of the app is complete, and before the installation starts.
This is the error message:
Download error
Download was unsuccessful,
please try again.
Click to expand...
Click to collapse
One example of app that always fails every time I try to install it, is Angry Birds by Rovio Mobile. The download size is 33.83 MB (version 3.1.0) and right after the download completes it gives me the error that the download was unsuccessful.
What is this? Unsuccessful download? How can it be unsuccessful? I just saw the download complete!! This is more of an installation problem than download problem.
Why does it affect only some of the apps and not all of them?
I thought this had only to do with game apps, and/or apps with large install sizes. But I have installed Benji Bananas (version 1.9) which is 16.88 MB and some other heavy apps without a problem.
Does it have to do with where the app defaults to install? Default install location? Apps that install to SD (support Froyo App2SD) by default? Maybe this is somehow messed up with the App2SD+ and Data2SD that's integrated in this ROM?
Fractalogic said:
I have SuperNova ROM on the phone (Supernova_2.4.0.1_signed.zip). I have root and S-OFF (stock HBOOT image). Now that I have finally found a ROM that expands my internal memory some of the apps don't want to install. So the situation is that most of the apps do install, but when I try to install some of them I get an error message right after the download of the app is complete, and before the installation starts.
This is the error message:
One example of app that always fails every time I try to install it, is Angry Birds by Rovio Mobile. The download size is 33.83 MB (version 3.1.0) and right after the download completes it gives me the error that the download was unsuccessful.
What is this? Unsuccessful download? How can it be unsuccessful? I just saw the download complete!! This is more of an installation problem than download problem.
Why does it affect only some of the apps and not all of them?
I thought this had only to do with game apps, and/or apps with large install sizes. But I have installed Benji Bananas (version 1.9) which is 16.88 MB and some other heavy apps without a problem.
Does it have to do with where the app defaults to install? Default install location? Apps that install to SD (support Froyo App2SD) by default? Maybe this is somehow messed up with the App2SD+ and Data2SD that's integrated in this ROM?
Click to expand...
Click to collapse
Read this:https://supernova.droidzone.in/category/faq/ at 28.
Thanks Tonal! I actually visited that same FAQ page earlier today but I gave up after reading through half of the page. I didn't think that this issue was covered by the FAQ. I didn't expect to find it at the bottom of the page as the last Q & A. I feel like they should move this up to the top, maybe even make it the question number one, as I'm sure others have faced this issue before and it's probably a frequent issue.
Here is a copy of that Q & A for future visitors.
28 Question: I am unable to install large apps (typically >25 MB or thereabouts) on my phone
This is a limitation of Market cache. To solve this, you have to tweak your software a bit.
Beginners: You need to first install an app called Scriptmanager from the Market. Once done, download a script named cacheboost.sh from here. Run Script Manager, and select this downloaded script. Execute is as root (the icon with Skull and Bones must be activated). This script must be run after a reboot, and before you want to install a large app. The changed made by the script are lost after each reboot, though the app you installed remains installed. If you find yourself running this frequently, you may add the path to this script in an init.d script to execute it at every boot.
Advanced Users: Download cacheboost.sh script
Open a terminal emulator or adb shell interface
Code:
cd /path/to/script
chmod 755 cacheboost.sh
./cacheboost.sh
If you wish to load the script at every boot, add a line in /system/etc/init.d/01data
Click to expand...
Click to collapse
So this has to do with the cache of the Android Market app not being big enough. Go figure!
All of this is redundant however. Because I have solved it by simply manually installing the latest Play Store app (replacement of Android Market). It refused to install over ADB, so I had to copy the APK file to the SD and then open it with a file explorer.
Here's a short how-to.
Download the APK file for Play Store.
Connect the phone to the computer. If prompted, choose to mount as disk drive.
Copy the APK file to the SD card.
Disconnect the phone.
Go to menu, settings, applications, and enable unknown sources.
Start a file manager app (I used ES File Explorer, but ASTRO is good too).
Browse to the file (/mnt/sdcard/) and tap it to open. You'll be prompted if you want to replace a system app. Tap OK to continue.
I have included screenshots and the APK for the Play Store since I had it readily available anyway. But you can also check out this post at DroidLife and follow the download link there. It looks like they link to version 4.0.25. Mine is 4.0.27 which is even better.

Categories

Resources