Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,536 Members 53,050 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Flashing CM7 nightlies - LINK2SD messes up

Tip us?
 
*se-nsei.
Old
#1  
*se-nsei.'s Avatar
Senior Member - OP
Thanks Meter 499
Posts: 921
Join Date: Sep 2011
Location: London
Question [Q] Flashing CM7 nightlies - LINK2SD messes up

Can anyone help me out here?

I'm on the stable unofficial cm7.2 from alquez. Now the nightly builds are being released, but everytime I update by installing the zip via cwm my link2sd goes all nuts.

When I reboot after flash I get a mount warning, so I do a reboot.. then I try all sorts of things but all the liniks seem to be messed up and my internal memory goes full to capacity.

Does anyone know how to update without messing up my link2sd? I have to restore my nandroid everytime and so I don't get to use the nightlies.

I'm using an 8GB SD partitioned ext4 to 1GB.
SAMSUNG GALAXY NEXUS 16GB | 4.4.2 CM 11 NIGHTLIES
 
d33ps1x
Old
(Last edited by d33ps1x; 16th January 2012 at 01:01 AM.)
#2  
d33ps1x's Avatar
Senior Member
Thanks Meter 605
Posts: 683
Join Date: Oct 2011
Location: Toronto
Lightbulb Getting back up and running from a CM7 Nightly Update

1/ NANDROID BACKUP TO GET BACK TO WHERE YOU WERE IF YOU HAVE TO
2/ Titanium backup of all apps/data and system data
4/ Backup Titanium backup, ES File Explorer and LINK2SD apk's to SD card (Always have them there anyways!) using ES File Explorer
3/ Full wipe and install of new nightly and gapps
4/ Use CM7 File Explorer to reinstall TB, ES File, and LINK2SD
5/ Run Link2SD and relink SD Ext
6/ Turn on autolinking in settings
7/ Reboot
8/ Full titanium restore (files will auto relink to SD Ext with autolink on)
9/ Mass unlink the files you want on the Internal memory
10/ Redo your widgets on desktop

All your settings including WiFi, Google accounts, apps settings and data, System and Cyanogenmod settings will be retained.

Like I said. Pretty much all you have to redo is widgets.
Google Nexus i9250
Cyanogen Mod 10 Nightlies/DC 1200 Mhz/CWM Touch Recovery 6.0.0.1
It's Easier To Click Thanks Than Say It!
The Following User Says Thank You to d33ps1x For This Useful Post: [ Click to Expand ]
 
alexyie
Old
#3  
Senior Member
Thanks Meter 11
Posts: 134
Join Date: Jul 2007
Quote:
Originally Posted by *se-nsei. View Post
Can anyone help me out here?

I'm on the stable unofficial cm7.2 from alquez. Now the nightly builds are being released, but everytime I update by installing the zip via cwm my link2sd goes all nuts.

When I reboot after flash I get a mount warning, so I do a reboot.. then I try all sorts of things but all the liniks seem to be messed up and my internal memory goes full to capacity.

Does anyone know how to update without messing up my link2sd? I have to restore my nandroid everytime and so I don't get to use the nightlies.

I'm using an 8GB SD partitioned ext4 to 1GB.
After flashing new build of CM7
go to link2sd, then recreate mount script choosing your correct partition (ext4 in this case)
fully reboot (not quick reboot)
all your app should now shown correctly
 
d33ps1x
Old
#4  
d33ps1x's Avatar
Senior Member
Thanks Meter 605
Posts: 683
Join Date: Oct 2011
Location: Toronto
Quote:
Originally Posted by alexyie View Post
After flashing new build of CM7
go to link2sd, then recreate mount script choosing your correct partition (ext4 in this case)
fully reboot (not quick reboot)
all your app should now shown correctly
Sometimes you can lose some but not all of your linked apps and they won't relink dalvik or libraries.

Last attempt at a normal update and remount script I lost 69 apps that refused to relink.

If you want to be safer than sorry...
Google Nexus i9250
Cyanogen Mod 10 Nightlies/DC 1200 Mhz/CWM Touch Recovery 6.0.0.1
It's Easier To Click Thanks Than Say It!
 
*se-nsei.
Old
#5  
*se-nsei.'s Avatar
Senior Member - OP
Thanks Meter 499
Posts: 921
Join Date: Sep 2011
Location: London
Quote:
Originally Posted by d33ps1x View Post
1/ NANDROID BACKUP TO GET BACK TO WHERE YOU WERE IF YOU HAVE TO
2/ Titanium backup of all apps/data and system data
4/ Backup Titanium backup, ES File Explorer and LINK2SD apk's to SD card (Always have them there anyways!) using ES File Explorer
3/ Full wipe and install of new nightly and gapps
4/ Use CM7 File Explorer to reinstall TB, ES File, and LINK2SD
5/ Run Link2SD and relink SD Ext
6/ Turn on autolinking in settings
7/ Reboot
8/ Full titanium restore (files will auto relink to SD Ext with autolink on)
9/ Mass unlink the files you want on the Internal memory
10/ Redo your widgets on desktop

All your settings including WiFi, Google accounts, apps settings and data, System and Cyanogenmod settings will be retained.

Like I said. Pretty much all you have to redo is widgets.
OMg. That's the same as installing any custom ROM, just keeping the settings (which I backup anyway). I can't do this nightly! I might as well just update when there are major major improvements such as kernal, etc.

Can't we like, use a patch or something that saves all the links when updating, or something like that?
SAMSUNG GALAXY NEXUS 16GB | 4.4.2 CM 11 NIGHTLIES
 
d33ps1x
Old
#6  
d33ps1x's Avatar
Senior Member
Thanks Meter 605
Posts: 683
Join Date: Oct 2011
Location: Toronto
Quote:
Originally Posted by *se-nsei. View Post
OMg. That's the same as installing any custom ROM, just keeping the settings (which I backup anyway). I can't do this nightly! I might as well just update when there are major major improvements such as kernal, etc.

Can't we like, use a patch or something that saves all the links when updating, or something like that?
I'll work something out.
Google Nexus i9250
Cyanogen Mod 10 Nightlies/DC 1200 Mhz/CWM Touch Recovery 6.0.0.1
It's Easier To Click Thanks Than Say It!
The Following 2 Users Say Thank You to d33ps1x For This Useful Post: [ Click to Expand ]
 
No.12
Old
#7  
No.12's Avatar
Senior Member
Thanks Meter 33
Posts: 322
Join Date: Aug 2011
I too, always do full backup with Titanium, then full wipe, clear dalvik cash, install new CM build, then restore app using Titanium again.
My question is, why when I reinstall new build, gapps are always present, I don't have to install them again? I always do factory reset, clear cash partition and dalvik cash before update.

Wildfire S powered by CM 7.2
 
*se-nsei.
Old
#8  
*se-nsei.'s Avatar
Senior Member - OP
Thanks Meter 499
Posts: 921
Join Date: Sep 2011
Location: London
Quote:
Originally Posted by No.12 View Post
I too, always do full backup with Titanium, then full wipe, clear dalvik cash, install new CM build, then restore app using Titanium again.
My question is, why when I reinstall new build, gapps are always present, I don't have to install them again? I always do factory reset, clear cash partition and dalvik cash before update.

Wildfire S powered by CM 7.2
They're present because you included them in the full titanium backup.

--

Cool if you can d33p
SAMSUNG GALAXY NEXUS 16GB | 4.4.2 CM 11 NIGHTLIES
 
SavageButcher
Old
#9  
Member
Thanks Meter 3
Posts: 33
Join Date: Oct 2011
Quote:
Originally Posted by d33ps1x View Post
I'll work something out.
that would be great, thanks in advance.

Tags
cm7, ext4, link2sd, nightlies
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Return to Outer Space Outer Space with Ship Up Game

Since the release of Flappy Birds, we’ve had the “fortune” to see … more

Device Review: OnePlus One

Seemingly every day, there are a bunch of new devices being released. Some are budget devices and some are … more

Browse the Internet with the Innovative Atlas Web Browser

For the most part, Chrome, Firefox, and Dolphin Browser have no real rivals among … more

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more