invalid argument link2sd problem! - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

First time gettin this error!! Any solutions?

Never saw that till now?
Can you add a more details bro?
Sent from my GT-S5360 using xda premium

Ok so today i was testing various cm7 roms so i switched from my kernel to white kernel for testing becuz it supports cm. Everything went well until i restored my nandroid backup. As usual I was trying to restore all my apps using link2sd and every time it used to work like a charm but this time it gave an error saying invalid argument. It was showing the same error on all partitions except ext4. But my original partition was ext3... I was really confused about it so i selected ext4 and rebooted my phone. In link2sd partition properties i saw that the ext was getting mounted but wid only 4 mb instead of 200mb.. Now i hav restored back to my kernel but still the problem is there.. I think I need to face it, my apps are gone and I would have to download all of em again.. Can u recommend me some good internal memory saver techniques similar to a2sd,link2sd etc? I need it to be reliable..
Sent from my GT-S5360 using XDA

hell_lock said:
Ok so today i was testing various cm7 roms so i switched from my kernel to white kernel for testing becuz it supports cm. Everything went well until i restored my nandroid backup. As usual I was trying to restore all my apps using link2sd and every time it used to work like a charm but this time it gave an error saying invalid argument. It was showing the same error on all partitions except ext4. But my original partition was ext3... I was really confused about it so i selected ext4 and rebooted my phone. In link2sd partition properties i saw that the ext was getting mounted but wid only 4 mb instead of 200mb.. Now i hav restored back to my kernel but still the problem is there.. I think I need to face it, my apps are gone and I would have to download all of em again.. Can u recommend me some good internal memory saver techniques similar to a2sd,link2sd etc? I need it to be reliable..
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Did u clear data and catche and etc.before restoring apps.?
rooting is new for me...and i am noob to root...

i personally would recommend titanium backup (full),
i never thought link2sd can restore apps,
but i use titanium backup to backup my apps,
it has never failed me before,
first i restore apps by titanium backup then link everything again with link2sd
this post is approved by the national potato safety regulation

Related

switching to cm7#199.( ended up in cm7#203)

dudes i am planning to switch to #199 cm7.
the plans are...
1) fresh flash #199 with 2.6.32 buzz kernal.
2) dta2sd beta 3,jewz ram script, sd speed increase script(4068) .
3) custom mtd partition with 170mb system and 30 mb cache.
4) data and app to sd ext4.
5) 8gb class 4 sd partitioned to 1gb ext4, 32mb swap, rest with fat32 with a large allocation value.
6) lot of paid app of course.
i need your suggestions ....
thanks in advance.
Sent from my HTC Wildfire using XDA App
Do the mtd partition as you install 199, I got problems when a2sd was already installed, my mtd settings are 140 10, 10mb works fine for cache just make sure you have 06mountdl in your init.d folder otherwise you wont be able to download anything from the market above 10mb in size, if it isn't in the init.d folder you should find it in the cm zip.
Sent from my HTC Wildfire using xda premium
Scratch0805 said:
Do the mtd partition as you install 199, I got problems when a2sd was already installed, my mtd settings are 140 10, 10mb works fine for cache just make sure you have 06mountdl in your init.d folder otherwise you wont be able to download anything from the market above 10mb in size, if it isn't in the init.d folder you should find it in the cm zip.
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
dude i haven't heared of init.d folder. pls explain. well i surely plan to give 25 mb cache. if so do i need to care about init.d folder?
" just make sure you have 06mountdl in your init.d folder" dude i realy dont understand this.
" if it isn't in the init.d folder you should find it in the cm zip." and this too i dnt understand.
so i am a newbee to custom mtd partition. hence i need help about this. how should i need to use the script? i plan to flash it soon after i reboot to #199. only after that i will install my apps.and also gapps. so do i need to take nandroid backup? as i have backups of my app using titanium backup. so i will install every thing later.
Sent from my HTC Wildfire using XDA App
Put the files needed on your sd card and write your settings in the txt file.
Run the first part of the mtd partition (wipe system/data/cache and install the first zip, bravo recovery or something like that, reboot your recovery from the advanced setting.
After doing the first step install your fresh copy of cm7 (instead of the nandroid backup) without wiping anything, then run the bravo boot zip and let it boot before installing anything else.
Files from the market, when first downloaded go to your /cache folder which if set to only 10mb would mean you can only download files below 10mb in size, the 06mountdl script deals with this by diverting the downloads elsewhere /data partition I think (not sure), the scripts are found in /system/etc/init.d after installing cyanogen if your cache size is small just check that folder (with root explorer) as a few times I have had to extract 06mountdl from the cm7 zip because it hasn't installed.
All that happens if 06mountdl isn't there is, when you go to the market you'll get an annoying message saying you don't have space left if the filesize of the app is larger than your cache.
Hope that made sense its 7am here.
Sent from my HTC Wildfire using xda premium
thanks for your help dude. i will check it out. also do i need to flash dta2sd b4 or after i install apps. i had done it b4 i install apps in my current rom#177. do you have any suggestions?
Sent from my HTC Wildfire using XDA App
Not entirely sure, I know some people say before but its never harmed me doing it after, you may aswell just run it straightaway though after your first reboot. Just in case.
I only use beta 3 as I had problems with beta 4, I don't think there's any noticeable changes between them tbh.
Sent from my HTC Wildfire using xda premium
k. i will check it. and will post my experience. thank you dude. see you soon.
Sent from my HTC Wildfire using XDA App
So i ended up in cm7#203. Stable. Fast, like it a lot.
The sad thing is i can't make custom mtd. Every time i ended in a non booting cm7 boot screen. Actually i had to flash froyo 2.2.1 ruu 2 times. Rooted, installed cwm. 2 times. Coz i had done like u said. Flashed custom mtd recovery with mtdpartmap.txt file containing 160 25. Then installed new rom with a reboot of recovery only.also flashed bravo boot. All as you said. Stuck in splash screen. So again tried to flash new rom and kernel from recovery. Still the same after flashing. So again ruu flash. Install custom cwm v5.xxx.partitioned SD. This time the SD got corrupted. So removed custom cwm and put original cwm using fastboot flash. Then partitioned with out errors. And installed cm7#203 from cwm, SD speed increase script,Jews ram script,2.6.35 kernal, latest radio, mediaprofile patch, gapps for 2.3.5 Andy. Rebooted after dalvic wipe. Itz running perfect. Installed s2e app . Moved app,private app, data, to ext.
I think that s2e is more efficient than dta2sd. It is faster, move almost every thing to ext. And internal memory consumption is quite low after app installations(when compared to dta2sd). Also booting and shut down are faster.
I will be watching for future errors. Thank you.
Sent from my HTC Wildfire using XDA App

Video on how to install CWM..Just saw this one.

ive been reading/looking on how to install CWM
Just saw this one on youtube
but havent tried it yet
i dont know if the firmware version matter or not..
any testers??
http://www.youtube.com/watch?v=Gb3V7Oemurg
easy steps right?
I used the same method to install cwm on my phone. It works
Sent from my LT15i using XDA App
just backup my stock rom.
it was running and..
NO sd-ext found, skipping backup of sd-ext
generating md5 sum...
backup complete!
whats the meaning of no sd-extension found?
elnitrox said:
just backup my stock rom.
it was running and..
NO sd-ext found, skipping backup of sd-ext
generating md5 sum...
backup complete!
whats the meaning of no sd-extension found?
Click to expand...
Click to collapse
Not sure about that. Guess , if we use link2sd or other programs to move some programs to sd card , the cwm backsup data relating to those programs else it shows the above message , not sure though .
elnitrox said:
whats the meaning of no sd-extension found?
Click to expand...
Click to collapse
Because CWM is prepared to make full backup phone. Including SD-EXT partition if you had ...
But you do not have, it simply does not backup that part and continuous.
But the backup is OK.

[Q] cant backup my stock rom and data with 2nd init

i managed to install 2nd init ver 2.0
bt whenever i try to make backup of my current rom..
it says problem backing up system,problm backing up data,problem backing up devtree..
why this is happening??any idea?
i want to install cm7.1
is it because of less free space on sd card?
how much space does a normal backup take????
I don't know the reason for why you can't, in my case works... anyway you can flash the stock firmware with RSD if you wanna back to stock after flashing CM7
bds bamrah said:
is it because of less free space on sd card?
how much space does a normal backup take????
Click to expand...
Click to collapse
Space required for a CWM nandroid backup varies according to what you have installed. On my still-to-be commissioned Defy+ with almost no Market apps installed, no e-mail accounts configured and no SMS messages sent or received the last backup took a bit over 300MB. On my green lens Defy with more Market apps installed than I can actually remember, two live e-mail accounts and a bucketload of SMS messages the last backup took nearly 700MB.
If you have ~1GB available on your sd card then you should be able to make a full nandroid.
If it's not a space issue then you may be unlucky enough to have an sd card which doesn't work well with the phone (eg see this thread) or maybe it just needs reformatting (copy the data off to a PC first!)
Did it)
It ws a matter of space..i freed my sd card.and backup is created nw..it ws of 1 gb...
Nw abt to install cm7.1 and gapps..
Sent from my MB525 using XDA App
just installed cm7.1
it looks great
also installed gapps
everything is fine
my network,data pack
everything is working..
bt i cant install apps from market..
have any idea y??
cant install watsapp...

Restoring NANDROID Backups

Hello HD2 users,
This may seem like very basic information but got me confused so i want to share it with you. Its about restoring nandroid backups.
The Experiece:
I had the typhoon rom working very well. Its fast and smooth and i like it alot. Anyways, being a flash junkie and wanting to try out different roms all the time i wanted to try a sense 3.5 rom. It required a greater internal memory partition 200 or 245mb. I currently had 150mb.
So anyways, i made a nandroid backup in CWM and then flashed a new partition size, flashed the new sense rom and it was working. I didnt like it. I wanted the typhoon rom back. I booted into CWM and restored the backup. BUT it didnt work. The backup restored successfully but due to low internal memory, it didnt even go to the boot animation. Just stayed on the boot image.
The lesson:
To restore your nandroid backups and run them u need to restore them on the SAME partition size that you made them on.
If u made a backup with 200mb partition, the restored backup will ONLY WORK if your partition is still 200mb.
Just some basic info. Hope it helps people out
Peace
Sent from my HTC HD2 using xda app-developers app
adil1508 said:
The lesson:
To restore your nandroid backups and run them u need to restore them on the SAME partition size that you made them on.
If u made a backup with 200mb partition, the restored backup will ONLY WORK if your partition is still 200mb.
Click to expand...
Click to collapse
I would dispute that, and say that it is more likely that your increased system partition size resulted in the data partition being too small to restore fully.
Did you make sure you did a 'wipe data factory reset' before restoring? since leftovers on the sd card could be causing problems too.
did you try 'fix permissions'?
(Always happy to be proven wrong, of course, i'm no great mind when it comes to android, but i'm ((fairly) sure ive restored to larger partitions before)
samsamuel said:
I would dispute that, and say that it is more likely that your increased system partition size resulted in the data partition being too small to restore fully.
Did you make sure you did a 'wipe data factory reset' before restoring? since leftovers on the sd card could be causing problems too.
did you try 'fix permissions'?
(Always happy to be proven wrong, of course, i'm no great mind when it comes to android, but i'm ((fairly) sure ive restored to larger partitions before)
Click to expand...
Click to collapse
Yes i did fix permissions and wipe data/cache and dalvik cache too.
When i was using the typhoon rom i had like 200something used internal memory. And some 37 left. Not exact figures. So roughly 240mb is available after the partition. When i increase the partition, less than 240 is available. Maybe thats the reason?. Im not too sure too. Lets wait for some expert guy
Sent from my HTC HD2 using xda app-developers app
adil1508 said:
Yes i did fix permissions and wipe data/cache and dalvik cache too.
When i was using the typhoon rom i had like 200something used internal memory. And some 37 left. Not exact figures. So roughly 240mb is available after the partition. When i increase the partition, less than 240 is available. Maybe thats the reason?. Im not too sure too. Lets wait for some expert guy
Sent from my HTC HD2 using xda app-developers app
Click to expand...
Click to collapse
I am no "expert guy" but I have proved your theory wrong because I had a jelly bean Rom installed with a 150 mb partition and backed it up. Then this afternoon I remembered I needed a number from a text I received on that rom. I had since already repartitioned my phone to 250 mb and flashed a sense 3.5 Rom. I just restores my back up of jb made in a smaller partition and worked like a charm. Don't know the logistics behind it, just know it works
rawdaddymagraden said:
I am no "expert guy" but I have proved your theory wrong because I had a jelly bean Rom installed with a 150 mb partition and backed it up. Then this afternoon I remembered I needed a number from a text I received on that rom. I had since already repartitioned my phone to 250 mb and flashed a sense 3.5 Rom. I just restores my back up of jb made in a smaller partition and worked like a charm. Don't know the logistics behind it, just know it works
Click to expand...
Click to collapse
Ok thanks for the clarification. Ill look into it again.
Meanwhile, i urge other members to share their experiences too. To confirm.
Sent from my HTC HD2 using xda app-developers app

[Q]APPS FC

Hello all!
I was using Stock ROM with Savie's Kernel for a time on my Galaxy Y with Amarullz Data2SD, but I was bored with stock, made a backup of ext partition and flashed a custom rom, USSRv6. Everything was fine, but I wanted all my apps again, so Iformatted the ext partition and put the contents from app and data folder from old ROM there and rebooted. Now almost every app force closes, and is take so much time to boot . When I try to do fix_permissions command, I get a 64 UID error, already searched about it, but I didn't found anything.
Can anyone help me? Thanks
gu200123 said:
Hello all!
I was using Stock ROM with Savie's Kernel for a time on my Galaxy Y with Amarullz Data2SD, but I was bored with stock, made a backup of ext partition and flashed a custom rom, USSRv6. Everything was fine, but I wanted all my apps again, so Iformatted the ext partition and put the contents from app and data folder from old ROM there and rebooted. Now almost every app force closes, and is take so much time to boot . When I try to do fix_permissions command, I get a 64 UID error, already searched about it, but I didn't found anything.
Can anyone help me? Thanks
Click to expand...
Click to collapse
Reflash your rom and data2sd....
How you created backup of apps????
Sent from my GT-S5360 using xda premium
its better to use titanium backup and a fresh setup of a2sd. given the complexity and change of ROMS, mistake can happen anywhere....
Thank you all for replying!
I just copied all the contents from data and app folder from EXT partiotion from SD, then when I flashed new ROM, I just flashed Data2SD, pasted the contents gaint at EXT partition.
its better to use titanium backup and a fresh setup of a2sd. given the complexity and change of ROMS, mistake can happen anywhere....
Click to expand...
Click to collapse
Yes, I forgot TBP...

Categories

Resources