Hi Boys,
Thanks to your help I won to start android installer....
But ... after Installing Starts, whatever destination i choose (Sys on SD or Sys on Ext2; Data on SD or Data on Ext2)...
I have a lot of I/O Error in Writing block during install
mmcblk0 I/O error block ... (or similar)...
I use a micro sd of 2 gb, partionned with Gparted in
- 1512 Fat 32
- 256 Ext2
- 256 Ext2
After installing... Android is NOT installed ... and if I launch Haret I see a Weird Screen.
The only way to retry a new installing is DELETE all partition and re-run all procedure.
Please how can i RESOLVE this I/O problem and installing Android ?
Thanks in advance
Best Regards.
FoxCT.
Installing Android
foxct2005 said:
... after Installing Starts, whatever destination i choose (Sys on SD or Sys on Ext2; Data on SD or Data on Ext2)...
I have a lot of I/O Error in Writing block during install
mmcblk0 I/O error block ... (or similar)...
Click to expand...
Click to collapse
I have had the same problem. As far as I can tell it is a problem with writing to the SD-card, something is just not working right during the installation process. The only way I have managed to get Android installed, is by:
-Re-flashing HardSPL
-Flashing one of DZO's .nbh files
-Putting all required files in /andboot folder on SD-card
-On boot press Vol Up to get Installation menu
-Install Sys and Data to NAND
-Fix Permissions
-Clear Dalvik Cache
-Quit
Doing this Android should probably install for you. Any updates should be installed later on.
Enjoy!
May be it will help:
http://forum.xda-developers.com/showthread.php?p=6633051#post6633051
Thanks all for the precious replies ...
... but please I want install Android BY HARET in SD
I DON'T WANT TO FLASH IN NAND !!!!
I read in other post ... to try another miniSD... but i have not other SD!!!
Low Level Format? Any Solution ?
Regards.
FoxCT
Had the same issue. Found no solution. Tried formatting in Win, Ubuntu, Mac, repartition in all these OS. It's some hardware issue,maybe block size. I think you have to take it as is, and find another SD... Very very sorry.
Hardware problem
idreadful said:
Had the same issue. Found no solution. Tried formatting in Win, Ubuntu, Mac, repartition in all these OS. It's some hardware issue,maybe block size. I think you have to take it as is, and find another SD... Very very sorry.
Click to expand...
Click to collapse
I (unfortunately) totally agree. I also wanted to run Haret, but could not do it successfully, so I resorted to NAND.
As I see, problem exist with new zimage. I tried with old one and everything is fine but unfortunately WiFi not working
I Tried with a new 2GB KINGSTONE ....
SAME PROBLEMS!!!!
I/O Errors !!!
I tried to change Zimage, Default.txt, Builds, Tar ... always the same ERROR !!!!
Can I try with a SQSH Package version ?
Which latest Build of Android can i download and try in SQSH Package ? Can you put some link ?
Regards.
FoxCT.
INCREDIBLE !!!!!
Even launching SQSH Package of MYN'S WARM DONUT ... I get I/O ERROR on mmblock0 !!!
How resolve my problems ? I tried 2 MicroSd Card !!!
Have I buy a NEW microsd again???
Maybe i wrong in formatting sd? I tried in Ubuntu, in Windows, in Sqsh, in ext2 ... ALWAYS MMCBLOCK0 ERRORS!
I think the SD is formatted only/read ... but my pc write it without problems...
Please Help Me to find a solution... I don't wanto to install in Nand until Android Porting is 99% complete!
Thanks in advance.
Regards.
FoxCT
Guys, your SD cards are OK, problem is zimage !!! Try download this complete myn's release from post: http://forum.xda-developers.com/showpost.php?p=6360902&postcount=175 , extract zimage and initrd files, install and will see that no errors. But unfortunately WiFi not working. So, at the moment only NAND install works without errors
testuser0072 said:
Guys, your SD cards are OK, problem is zimage !!! Try download this complete myn's release from post: http://forum.xda-developers.com/showpost.php?p=6360902&postcount=175 , extract zimage and initrd files, install and will see that no errors. But unfortunately WiFi not working. So, at the moment only NAND install works without errors
Click to expand...
Click to collapse
I am sorry to say that, even using your link with Zimage and Haret with defaul working for polaris I have always DMA TIMEOUT and MMCBLK0 I/O errors.
In every Installation i try, in Every Package I Use, in Every Way i Try to install (SQSH, on EXT2, on SD Partition... ) ... i have ALWAYS MMCBLK0 Errors !!!!
Even on SQSH ... i can perform only the FIRST RUN ... and sometimes even on the first run a lot of application (even Time and Date on Startup) CRASH ...
... I am very disperate ... I would like to try android on a POLA100 without Flashing Nand.
No one has any idea to how resolve my problems ?
Bye!
Hi, i have the same problem.
i solved formating the SD Card with this software:
http://www.sdcard.org/consumers/formatter_3/
I run Android with Haret and everyting like fine.
Which Option in SD Formatter
Softec said:
Hi, i have the same problem.
i solved formating the SD Card with this software:
http://www.sdcard.org/consumers/formatter_3/
I run Android with Haret and everyting like fine.
Click to expand...
Click to collapse
Which Option (Quick Erase On/Quick Erase Off/Full Erase On/Full Erase Off) you used to a good formatting in Android ?
Thanks in advance.
Regards. FoxCT.
foxct2005 said:
Which Option (Quick Erase On/Quick Erase Off/Full Erase On/Full Erase Off) you used to a good formatting in Android ?
Thanks in advance.
Regards. FoxCT.
Click to expand...
Click to collapse
Full Erase On Format size adjustment on
Softec I Love You, man My Android is WORK
I'm use xda orbit II
misiekk167 said:
Full Erase On Format size adjustment on
Softec I Love You, man My Android is WORK
I'm use xda orbit II
Click to expand...
Click to collapse
You are a great!
But ... if you format full erase On ... you have to re-create ext2 partitions!
So my question is: After formatting with sd-formatting software WHICH BUILD/METHOD OF INSTALLATION you used ?
Thanks in advance.
Regards.
FoxCT
Change in Default.txt for SD card Polaris 100
you can try change Default.txt - max frequency ..... I have try msmsdcc_4bit (1 or 4) and diffrent values of msmsdcc_fmax=10000000 and now it works.
My default.txt
#alloctest 0x2000
set RAMSIZE 0x08000000
set MTYPE 1723
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.nostart - Set ppp.nostart=1 to disable starting the ppp connection on boot
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=AppsSleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 1, use 1 for best power savings
# board-htcpolaris.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Sony 2=Topoly 3=Topoly (probably just the same as 2)
# lcd.density - Defaults to 160, 128 shows more on screen
#
set cmdline "ppp.nostart=0 board-htcpolaris.panel_type=1 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend clock-7x00.mddi=0xa51 msmsdcc_4bit msmsdcc_fmax=10000000 msmsdcc_nopwrsave"
boot
had the same problem here
used a transcend sd card 2GB. formated with 1 in fat32 + two partitions of ext2.
still the same problem.
Then i had someone lend me another card (the funny thisg was that it was the same brand and model). formated 1 in fat32 + two partitions of ext2 as did previoulsy. copied andboot. runned haret and voila... all went as it should..
So I belivee that this error is due to formating problem or something to do with the card.
Hope this helped
misiekk167 said:
Full Erase On Format size adjustment on
Softec I Love You, man My Android is WORK ...
Click to expand...
Click to collapse
woohoo! 2nd that one. had pretty much the same errors with 4gb card on my kaiser. tried different android flavours and settings until my head was spinning. formatted several times with win xp and win 7 but now all is well (micro$oft - cant you get anything right, always relying on 3rd parties to bail them out)
thing was, i tried android about a year ago so i knew it could run (cant remember which sd card though)
Related
HOW TO PARTION WITH PARAGON PARTITION MANAGER
**** YOU WILL LOSE ANY INFO ON THE SDCARD - PLEASE BACK UP IMPORTANT INFO PRIOR TO STARTING THIS PROCESS ***
**** these are instructions for Windows XP ***
***** if you are using Windows Vista - You need to change the permissions to Administrative in order for this to work - RIGHT CLICK ON THE START BUTTON AND GO TO ADMIN SETTINGS - even if you are the only user of the PC
have the sdcard in the card reader or in the phone mounted to the pc !!!!
OPEN PARTITION MANAGER...
CLICK ON PARTITION MANAGER IN THE LOWER RIGHT HAND CORNER..
then click on the line that represents the sdcard, and right click on it, and choose format partition.. name the volume label - fat32
then click format..
computer might hang for a minute or 2, and then a popup will come up and say click GREEN CHECK to apply changes..
click the GREEN CHECK IN THE TOOLBAR AREA..
you will then see another pop up show - apply changes, choose yes, then you will see OVERALL PROGRESS AND GEARS TURNING.. LET IT PROCESS AND TAKE ITS TIME.. DONT HIT CANCEL..
when its done the cancel button at the bottom will change to Close.. click it..
AND THE FIRST STAGE IS DONE...
NOW ITS TIME TO CREATE THE EXT2 PARTITION..
Now on the Left side of the screen click Create partition.. and a screen will now show Create New Partition Wizard... it lets you chose which drive to partition ( make sure you chose the sdcard - it will be the one with the smallest volume/size of the sdcard in gbs.. should be on the bottom )...
HIT NEXT
now a slider will appear where it says new volume....
move the slider with the mouse, and make it how big you want it.. for ext2 partiiton about 500mb to 1gb is plenty... 500mb is good size.. ( size wont be exact so get it close to the size you want..
WHEN DONE CLICK NEXT...
NOW IT GIVES YOU THE OPTION TO FORMAT THE PARTITION...
CLICK THE PARTITION TYPE DROPDOWN MENU AND CHOSE LINUX EXT2... AND GIVE IT A VOLUME LABEL OF ext2.
then click next...
PC WILL PROCESS AND HOURGLASS WILL SHOW WHERE THE MOUSE POINTER IS.. AND THEN A POP UP WILL SHOW - SAYING -
COMPLETING THE CREATE NEW PARTTITION WIZARD..
CLICK FINISH...
THEN IT TAKES YOU BACK TO THE SCREEN SHOWING THE DRIVES, AND WHAT YOU CREATED, AND THE OPTION AT THE TOP WILL SAY - APPLY ... choose apply
THEN IT WILL ASK YOU TO - APPLY PENDING CHANGES AGAIN, choose yes..
NOW YOU WILL SEE THE GEARS WORKING AGAIN.. LET IT RUN TILL IT SAYS complete..
*it will take a few minutes to process.. let it run...
you might get a pop up for the sdcard drive as a open folder on the pc just showing that its done, just go back to paragon and let it finish running...
once complete you will get a pop up saying SYSTEM RESTART IS REQUIRED TO COMPLETE OPERATION.. CHOSE RESTART THE COMPUTER...
You will see a paragon manager screen, that will hang for a almost a minute, and then the bar will fill saying 100 percent complete, press any key to reboot the pc..
AS LONG AS THERE IS NO ERRORS, YOUR DONE..
FORMAT COMPLETE..
PARAGON WILL START UP ON ITS OWN, AND SHOW THE PARTITIONS AS BEING COMPLETE..
----
*****edit
Originally Posted by Androidandy
check that the ext2 partition is good by typing busybox df -h in terminal.
************************************************************EDIT *****************
If your having issues using paragon partition manager, and trying to make a linux swap partition, try these instructions for formating thru Cyanogens newest recovery
Formatting you SDcard
You only need to do this once folks..if you already have 3 partitions including linux-swap move to step 2
You need Recovery image 1.31 to do this folks!
To format card SD card with linux-swap WARNING!!! this will reformat you entire SD card!!
You can use the recovery console and parted to format SDcards with 1.31 folks, no more going through hassles you have the tools on you G1!...here is an example of how to do this in recovery console using parted
Example for 8GB card (specific value's may be slightly different use print to verify your total SDcard size~!
Reboot and enter recovery
Enter console
#parted /dev/block/mmcblk0
#print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 7584
mkpartfs primary ext2 7584 8127
mkpartfs primary linux-swap 8127 8159
#print (to verify we have the 3 partitions)
Example for my 4GB card
#parted /dev/block/mmcblk0
#print (to verfiy we know what size card we are dealing with, the details should be straight forward * then grab a calculator to figure the exact amounts... as shown below that is an example..)
rm 1
rm 2
mkpartfs primary fat32 0 3420
mkpartfs primary ext2 3420 3932
mkpartfs primary linux-swap 3932-3964
"End?" you need to place the last value for the linux swap eg.3964 for my 4GB card
#print (to verify we have the 3 partitions)
Next we need to "quit" parted and upgrade our ext2 partition to ext3
#upgrade_fs
Swap value is set to 30 currently, you can change this by modifying the "echo" value for swappiness in the a2sd.sh script
swap partition shouldnt be no larger than 92mb
ext2/3 partition shouldnt be more than 500mb ( more than that is too much )
( directions from a post by justanothercrowd )
Thank You, for a great post but, can you please fix this link *** word docx with screenshots - http://kaysesoze.wordpress.com/wp-ad...ttachment_id=4
When I signed in I received the following message "You are not allowed to edit this attachment." Again THANK YOU,
V/R
Biz
stuck
I installed paragon parttition manager 9 pro trial version after installtion I reboot and , it brought me to the blu paragon advance recovery screen...I notice I forgot to back up my sd card...but it won't let me out of this screen...tried rebooting it still brought me back to this screen...is there any solution for this problem....its gotta be something easy...I just don't know what to do to get back to my desktop.....HELP!!!!!!!!!PLEASE!!!
biz18434 said:
Thank You, for a great post but, can you please fix this link *** word docx with screenshots - http://kaysesoze.wordpress.com/wp-ad...ttachment_id=4
When I signed in I received the following message "You are not allowed to edit this attachment." Again THANK YOU,
V/R
Biz
Click to expand...
Click to collapse
thanks for bringing that to my attention.. will try and fix it..
toconfuze1 said:
I installed paragon parttition manager 9 pro trial version after installtion I reboot and , it brought me to the blu paragon advance recovery screen...I notice I forgot to back up my sd card...but it won't let me out of this screen...tried rebooting it still brought me back to this screen...is there any solution for this problem....its gotta be something easy...I just don't know what to do to get back to my desktop.....HELP!!!!!!!!!PLEASE!!!
Click to expand...
Click to collapse
during the paragon process it says do not interrupt it while it is formating, cause you pc can become unstable. and thats exactly what you did.. u might be able to press the esc button, i believe it gives that option at the bottom of the screen to exit it properly. but rebooting was wrong...
anytime u FORMAT any drive or card you will lose information, thats pc fundamentals... will add the issue about losing info to orig post..
was stuck
thanks a lot....fixed
Help
I know I am always running into problems. But i am freakin out about this and i don't know if this is the right thread to be posting this or maybe someone can lead me to other thread with this fix.
Question
First i partitioned my mini sd card using my G1 with paragon manager and when everything was done the computer restarts.
But the weired thing is that now when i mount my G1. My G1 is recognized by my computer but it does not show me the storage device on my computer folder or even prompt me with opening a folder for my storoge card. I am freakin out.
Things i tried.
1. Rebooted my phone
2. nandrroid backup restore
3. restarted my computer
4. changed minisd cards.
5. uninstalling the usb android driver and reapplying it
6. went to usb debug on the settings on the phone
nothing worked.
Thanks . Any help would do.
------------------------
Fix ******Update
It took me alot of time to figure this out. if anyone gets this problem just assign your sdcard a Letter. Example: E: Drive.
When i look at these tutorials it does not mention anything like that.
thanks anyways
stonefurry said:
I know I am always running into problems. But i am freakin out about this and i don't know if this is the right thread to be posting this or maybe someone can lead me to other thread with this fix.
Question
First i partitioned my mini sd card using my G1 with paragon manager and when everything was done the computer restarts.
But the weired thing is that now when i mount my G1. My G1 is recognized by my computer but it does not show me the storage device on my computer folder or even prompt me with opening a folder for my storoge card. I am freakin out.
Things i tried.
1. Rebooted my phone
2. nandrroid backup restore
3. restarted my computer
4. changed minisd cards.
5. uninstalling the usb android driver and reapplying it
6. went to usb debug on the settings on the phone
nothing worked.
Thanks . Any help would do.
Click to expand...
Click to collapse
1. did you do the fat32 first, then ext2 second ?
2. did you mount the sdcard to the pc ?
3. may show as F drive on your pc !!!
I used PM 10, it is very easy. However when the program wants to reboot it says there is an error, but I check that the ext2 partition is good by typing busybox df -h in terminal.
I've partitioned several cards now and they all work.
I found that doing a wipe then installing Lucid's rom.
I reinstall my applications from mybackup pro and downloading others from the market.
I test everything is working fine, then and only then I use the scripts that Lucid posted.
To recap ensure that busybox recognises the ext2 partition then wipe, install Lucids rom
Androidandy said:
I used PM 10, it is very easy. However when the program wants to reboot it says there is an error, but I check that the ext2 partition is good by typing busybox df -h in terminal.
I've partitioned several cards now and they all work.
I found that doing a wipe then installing Lucid's rom.
I reinstall my applications from mybackup pro and downloading others from the market.
I test everything is working fine, then and only then I use the scripts that Lucid posted.
To recap ensure that busybox recognises the ext2 partition then wipe, install Lucids rom
Click to expand...
Click to collapse
thank you for the info..
was looking for the commands to verify that the ext2 partition is done correctly, and of course it verifies that busybox is working also..
I'm having a large issue with my new Micro SD card.
When using PM and my MicroSD in an SD adapter it allows me to format and create partitions successfully JUST FINE with my Sandisk 2gb which is probably a class 2 or just not a class at all...it doesn't say on the card at all.
BUT I just bought a Transcend 8gb Class 6 HC card and when using the SD adapter the computer recognizes it just fine to open and view files...BUT Paragon says its "Invalid" and won't allow me to format, partition, or anything.
I have no idea what needs to be done differently. It works just fine in the phone and moving files but Paragon won't recognize it or allow it to be modified.
I need some help please!!!
First of I'm new to all this so I'm a nood and I need some help massively I have trying to make this ext2 partition on ubumtu for months and always get an error message and a lost and found folder in the ext2 partition. Found these directions and finally make the partition w/ no error messages. Fat32 1st then ext2 2nd type busybox command so I think its done right. So I try to mkdir /system/sd/app for marcus directions on apps to sd to use his apps to sd2 app and I get error /system/sd/app read only. Why is that so? I look in pargan partitioner were I made the parition and there both still there. I would be greatfull if anyone can help out a nood like me [email protected]. I have been trying to get this ext2 partiton for months and today thought I did it correct cause no error messages and boy was I wrong!! Please anyone help !!
Bronze G1 W/ JF 1.5 cupcake W/Areo
NO APPS TO SD1! HELP PLEASE
Saphire SLP
[email protected]
i like this tuturial, but one problem, doesnt work with vista 64bit -.-
im literally crying
So every time I try to format, my phone unmounts my damn card.
Any ideas?
worked for me on vista 64
missxoash said:
So every time I try to format, my phone unmounts my damn card.
Any ideas?
Click to expand...
Click to collapse
Using Paragon or windows?
missxoash said:
So every time I try to format, my phone unmounts my damn card.
Any ideas?
Click to expand...
Click to collapse
im have the same problems as her, i dunno why
I am running vista 64 and paragon profesional. I can get it to format and can get the ext2, but I can not do anything with the card. I try and reformat the fat32 and give it a letter for a drive but it wont take or if i format it and then create the ext2 it gives the ext the drive letter(both cannot have a drive) What gives and in the meantime I have to use the 1gig because although paragon recognizes the sd card my pc does not!
so i've done everything in the tutorial. and even the coding for checking busybox.
it doesnt show the ext2.
and i tried running the lucid commands
and it says ext2 is not mounted.
i get all the way to the ext2 part the very last thing
like mount/dismount and i get a error
saying to close a program or restart pc
cant close program because i dont know what it is so i click retry same error
i restarted pc 2 times
still same thign tried reformatting all over again what am i doing wrong? thanks guys!
pr0cl1v1ty said:
i get all the way to the ext2 part the very last thing
like mount/dismount and i get a error
saying to close a program or restart pc
cant close program because i dont know what it is so i click retry same error
i restarted pc 2 times
still same thign tried reformatting all over again what am i doing wrong? thanks guys!
Click to expand...
Click to collapse
are u using a sdcard reader ??
I would like to know exactly what these do before i do them. sorry guys im a noobe..
Build:RA-magic-v1.2.3G
- wipe sd:ext partition
- Wipe SD:dalink-cache
- part sd:fat32+ext2+swap
- part sdnly fat32
- repair ext filesystem
- convert ext2 to ext3
- fix apk uid mismatches
- fix rotate
- USB Mass storage on
- USB Mass Storage off
Also how do you flash this recovery img from the Recover Flasher App, VS using CMD & fastboot.
jdubdieslo said:
I would like to know exactly what these do before i do them. sorry guys im a noobe..
Build:RA-magic-v1.2.3G
- wipe sd:ext partition
- Wipe SD:dalink-cache
- part sd:fat32+ext2+swap
- part sdnly fat32
- repair ext filesystem
- convert ext2 to ext3
- fix apk uid mismatches
- fix rotate
- USB Mass storage on
- USB Mass Storage off
Also how do you flash this recovery img from the Recover Flasher App, VS using CMD & fastboot.
Click to expand...
Click to collapse
wipe sd: ext partition- deletes your apps on your ext partiton
wipe sd: davlik-cache wipes your cache on your sd
part sd: fat32+ext2+swap makes the three partitions you need to run hero roms
parted sd: fat32 only- just partitions your memory card for a fat32 for stock roms like cyanogen
convert ext2 to ext3- does exactly what it says. makes ext2 to ext3
repair ext filesystem- do this after you choose to convert ext2 to ext3
fix apk uid mismatches- does exactly what it says
fix rotate- fixes auto rotate issues some roms have
usb mass storage on- allows you to access your fat32 part of your sd from the recovery
usb mass storage off- turns off the mounting of your sd from the recovery
to flash it using the recovery flasher app, just look at the unlockr's video and substitute the recovery image name for the one that is in the video. Voila.
Hope this helps
Applause...
Getting a straight answer sometimes is the most difficult part of installing a rom.
thelastgoodbrother said:
Applause...
Getting a straight answer sometimes is the most difficult part of installing a rom.
Click to expand...
Click to collapse
lol thats very true but come on if you can't do the research to figure out the basic youll be posting another thread the next day but this time it'll be called "stuck on the g1 screen" lol sometimes not giving a straight answer may save their phone... but thats just my opinion
So use part sd: fat32+ext2+swap when useing hero rom... what if i use hero rom & go back to cyanogen can i leave it that way or do i need to parted sd: fat32 only? also if i did part sd: fat32+ext2+swap And then did part sdnly fat32 would it override the part sd: fat32+ext2+swap. another question i dont even know what ext 2 is so moving it to ext 3 would be? sorry guys im new at this.. just wanted to clarify this. is fat32 letting me store apps to sd? because i removed the sd card while phone was on & notices it froze; i put it back in removed & rrplaced battery and it was fine again.. also i noticed i part sd: fat32+ext2+swap again before i read your replies to see what it would do and everything on my sd card was goin..
also what is swap i saw an app that saved a swap file on sd..
thanks everyone for you help. loving the android community. as soon as i get some extra cash i will be donating to people that helped me make my android stand out from any one's android on my end of the computer. thanks
jdubdieslo said:
So use part sd: fat32+ext2+swap when useing hero rom... what if i use hero rom & go back to cyanogen can i leave it that way or do i need to parted sd: fat32 only? also if i did part sd: fat32+ext2+swap And then did part sdnly fat32 would it override the part sd: fat32+ext2+swap. another question i dont even know what ext 2 is so moving it to ext 3 would be? sorry guys im new at this.. just wanted to clarify this. is fat32 letting me store apps to sd? because i removed the sd card while phone was on & notices it froze; i put it back in removed & rrplaced battery and it was fine again.. also i noticed i part sd: fat32+ext2+swap again before i read your replies to see what it would do and everything on my sd card was goin..
also what is swap i saw an app that saved a swap file on sd..
thanks everyone for you help. loving the android community. as soon as i get some extra cash i will be donating to people that helped me make my android stand out from any one's android on my end of the computer. thanks
Click to expand...
Click to collapse
If you are running a hero rom and want to go to cyanogen, you can leave the fat32+ext2+swap. Just make sure that you wipe your sd partition and davlik cache using the options in the recovery image. Do this every time you are flashing any new rom for that matter, whether it's a different hero rom or a stock rom.
Ext is the partition of your memory card that stores all your apps. This was necessary for the g1 because it only had like 80 mb of memory for apps. The mytouch has nearly 300 so apps2sd is not really necessary, but most custom ROMs include this anyway. Ext3 is what most of these ROMs operate on. Ext2 is an old outdated version that no one really uses anymore and ext4 is even newer than ext3 but is not really necessary.
Fat32 only does not let you store your apps on your sd. It does not have the ext partition to let that happen. I don't know why your phone froze when you took your sd card out. It shouldn't have. When you part your memory card, whether its just fat32 or the combo fat, ext, and swap your memory card gets wiped and formatted to whatever you have, so of course you will lose all your contents on the memory card. It wipes and reformats all 3 partitons, or just the one if you are doing only the fat32.
As for swap, this is necessary for hero. Hero phones have 288 mb of ram and the mytouch only has 192mb so if you don't have this, the phone lags so bad and hangs up and you get constant load screens. The app you saw is known as swapper. Yes it does put a swap file on your sd card, but if you go into advanced settings, it lets you use your swap partition of your memory card, which is what you should always choose.
Keep them questions rolling, I like being able to contribute whenever I can.
tazz9690 said:
If you are running a hero rom and want to go to cyanogen, you can leave the fat32+ext2+swap. Just make sure that you wipe your sd partition and davlik cache using the options in the recovery image. Do this every time you are flashing any new rom for that matter, whether it's a different hero rom or a stock rom.
Ext is the partition of your memory card that stores all your apps. This was necessary for the g1 because it only had like 80 mb of memory for apps. The mytouch has nearly 300 so apps2sd is not really necessary, but most custom ROMs include this anyway. Ext3 is what most of these ROMs operate on. Ext2 is an old outdated version that no one really uses anymore and ext4 is even newer than ext3 but is not really necessary.
Fat32 only does not let you store your apps on your sd. It does not have the ext partition to let that happen. I don't know why your phone froze when you took your sd card out. It shouldn't have. When you part your memory card, whether its just fat32 or the combo fat, ext, and swap your memory card gets wiped and formatted to whatever you have, so of course you will lose all your contents on the memory card. It wipes and reformats all 3 partitons, or just the one if you are doing only the fat32.
As for swap, this is necessary for hero. Hero phones have 288 mb of ram and the mytouch only has 192mb so if you don't have this, the phone lags so bad and hangs up and you get constant load screens. The app you saw is known as swapper. Yes it does put a swap file on your sd card, but if you go into advanced settings, it lets you use your swap partition of your memory card, which is what you should always choose.
Keep them questions rolling, I like being able to contribute whenever I can.
Click to expand...
Click to collapse
ao since ext 2 is outdate we want to convert ext 2 to ext 3 then repair ext filesystemafter words.. so if you convert ext 2 to ext 3 is there only a ext 3 now or both ext 2 and it adds a ext 3? also what does dalvik mean? also i thought apps to sd was a big deal because if you switch roms all your apps are still there, but if you wipe ext partition then you lose the apps so the real reason is just for phone with low ram and cant store many apps at once.. intresting..and wats up with not wipe data/factory reset after installing roms? whats the reason behind that, i notice my IME keyboard is no longer there when i do that.. im trying to think of more questions lol. thanks a million.
jdubdieslo said:
ao since ext 2 is outdate we want to convert ext 2 to ext 3 then repair ext filesystemafter words.. so if you convert ext 2 to ext 3 is there only a ext 3 now or both ext 2 and it adds a ext 3? also what does dalvik mean? also i thought apps to sd was a big deal because if you switch roms all your apps are still there, but if you wipe ext partition then you lose the apps so the real reason is just for phone with low ram and cant store many apps at once.. intresting..and wats up with not wipe data/factory reset after installing roms? whats the reason behind that, i notice my IME keyboard is no longer there when i do that.. im trying to think of more questions lol. thanks a million.
Click to expand...
Click to collapse
if you convert ext2 to ext3, there will only be ext3. It converts it from ext2, it does not make an additional partition. Davlik cache, if I am not mistaken is all your cache from your browser to google maps gets saved to your sd card as well instead of your phone memory. The apps2sd was originally for the fact that you keep your apps, but when flashing hero roms, it did not work for some reason and it resulted in boot loops. So that's why they say always format your ext if flashing from a different rom. For stock roms, I don't believe this would be an issue so you probably could go on without wiping your sd as long as you are moving from a stock rom to another stock. It will not work if you go from stock to hero, and vice versa. Wipe data/factory reset clears all the settings from your phone so you do not have any lingering settings stored on the phone from an old rom when you flash a different one. The only time that you do not need to do this is if you are flashing a newer version of the same rom. The IME is probably still there, it just got unchecked from the input method. Go to locale and text and recheck the "input" box and it should work again.
yeah it is safest way to wipe and reformat the sd card before flashing a new rom.
tazz9690 said:
if you convert ext2 to ext3, there will only be ext3. It converts it from ext2, it does not make an additional partition. Davlik cache, if I am not mistaken is all your cache from your browser to google maps gets saved to your sd card as well instead of your phone memory. The apps2sd was originally for the fact that you keep your apps, but when flashing hero roms, it did not work for some reason and it resulted in boot loops. So that's why they say always format your ext if flashing from a different rom. For stock roms, I don't believe this would be an issue so you probably could go on without wiping your sd as long as you are moving from a stock rom to another stock. It will not work if you go from stock to hero, and vice versa. Wipe data/factory reset clears all the settings from your phone so you do not have any lingering settings stored on the phone from an old rom when you flash a different one. The only time that you do not need to do this is if you are flashing a newer version of the same rom. The IME is probably still there, it just got unchecked from the input method. Go to locale and text and recheck the "input" box and it should work again.
Click to expand...
Click to collapse
Previously I got a 2GB micro-sd card. so no problem for me to move my music, photos, videos and backup apps to my pc.
But i just bought a 8GB card 2 weeks ago and man, backup all before flashing a rom is pain in the a** . but can't help flashing this and that ROMs hee hee
so no choice. yesterday I flashed Eugene's supermagic rom. awesome!
cheers
tazz9690 said:
if you convert ext2 to ext3, there will only be ext3. It converts it from ext2, it does not make an additional partition. Davlik cache, if I am not mistaken is all your cache from your browser to google maps gets saved to your sd card as well instead of your phone memory. The apps2sd was originally for the fact that you keep your apps, but when flashing hero roms, it did not work for some reason and it resulted in boot loops. So that's why they say always format your ext if flashing from a different rom. For stock roms, I don't believe this would be an issue so you probably could go on without wiping your sd as long as you are moving from a stock rom to another stock. It will not work if you go from stock to hero, and vice versa. Wipe data/factory reset clears all the settings from your phone so you do not have any lingering settings stored on the phone from an old rom when you flash a different one. The only time that you do not need to do this is if you are flashing a newer version of the same rom. The IME is probably still there, it just got unchecked from the input method. Go to locale and text and recheck the "input" box and it should work again.
Click to expand...
Click to collapse
so when going to another rom should you part the sd before or after the rom is loaded? and honestly im running out of questions.. i got one that is throwing me off.. i have my phone in fastboot and in device manager it show andriod bootloader (cant remember the exact device); i type in the cmd
cd desktop
cd fastboot
then the code for the custom splash and i get
< waiting for device > and it just sits there. nothing will happen. & my splash is still stock.. the file is at the rights bytes and i have the folder on my cd on the desktop and the driver i beleive is installed correctly on the cp. what am i doing wrong?
I think the Title should be Changed, Something Like Recovery-101. Know Your Phone.
Alot of great Info for New comers
jdubdieslo said:
so when going to another rom should you part the sd before or after the rom is loaded? and honestly im running out of questions.. i got one that is throwing me off.. i have my phone in fastboot and in device manager it show andriod bootloader (cant remember the exact device); i type in the cmd
cd desktop
cd fastboot
then the code for the custom splash and i get
< waiting for device > and it just sits there. nothing will happen. & my splash is still stock.. the file is at the rights bytes and i have the folder on my cd on the desktop and the driver i beleive is installed correctly on the cp. what am i doing wrong?
Click to expand...
Click to collapse
Part the sd before you load the rom onto the phone. if it has apps2sd and you try to part your memory card after, you will get stuck at the splash more than likely because you are missing key components that are stored onto the sd, like all your apps for example that come with the ROM.
In fastboot, when it's plugged in, on the phone does it say "Fastboot USB"?
You might want to try to reupload the drivers for the fastboot. That may be why it's hanging. I never use fastboot through the desktop. I always use fastboot through the SDK folder on my C:\ drive. It always worked for me that way. For some reason I could never get it to work with the "cd destop" but thats just me.
tazz9690 said:
Part the sd before you load the rom onto the phone. if it has apps2sd and you try to part your memory card after, you will get stuck at the splash more than likely because you are missing key components that are stored onto the sd, like all your apps for example that come with the ROM.
In fastboot, when it's plugged in, on the phone does it say "Fastboot USB"?
You might want to try to reupload the drivers for the fastboot. That may be why it's hanging. I never use fastboot through the desktop. I always use fastboot through the SDK folder on my C:\ drive. It always worked for me that way. For some reason I could never get it to work with the "cd destop" but thats just me.
Click to expand...
Click to collapse
i figured taht was the right order part sd then load rom because i did it and it worked lol, and since it worked i never tried it rom the part sd. so do cyanogen roms have app2sd? and does the cyanogen rom have a overclocker built in now because i tried to use my overclock widget and it doesnt work and the phone seems as if its running faster even with out my widget..
and yes it says fastboot usb & ive tried uninstalling & reinstall the drivers mutliple times and still get < waiting for device > so if i do it on the c:/ drive were do i place the fastboot folder? /c:/fastboot? and what would the code be?
cd c:/
cd Fastboot
thent he other code that i have saved at home the flash_splash one? i cant remember it.
one really dumb question. i rooted my pops mytouch lol because he was complaining about the mytouch stock because of numerous things. so i rooted it to 4.2.2 and out of all things he is now complaining about the stock ringtones.. lol. anyone know where to get the stock ringtones? if not its cool i told him id make sum ringers with ringdroid for him like the temptations and willie nelson lol.. thanks all for your support.
jdubdieslo said:
i figured taht was the right order part sd then load rom because i did it and it worked lol, and since it worked i never tried it rom the part sd. so do cyanogen roms have app2sd? and does the cyanogen rom have a overclocker built in now because i tried to use my overclock widget and it doesnt work and the phone seems as if its running faster even with out my widget..
and yes it says fastboot usb & ive tried uninstalling & reinstall the drivers mutliple times and still get < waiting for device > so if i do it on the c:/ drive were do i place the fastboot folder? /c:/fastboot? and what would the code be?
cd c:/
cd Fastboot
thent he other code that i have saved at home the flash_splash one? i cant remember it.
one really dumb question. i rooted my pops mytouch lol because he was complaining about the mytouch stock because of numerous things. so i rooted it to 4.2.2 and out of all things he is now complaining about the stock ringtones.. lol. anyone know where to get the stock ringtones? if not its cool i told him id make sum ringers with ringdroid for him like the temptations and willie nelson lol.. thanks all for your support.
Click to expand...
Click to collapse
Cyanogen's rom has dynamic apps2sd. If it senses that you have a partition, it will do apps2sd. If you don't have an ext, it will save it to the phone, so it will work that way too.
For the fastboot, do you even have your computer set up for the use of ADB and fastboot? Like having the latest SDK downloaded and set up for your computer? That might be why it says, waiting for devices. When you do cd fastboot, afterward type fastboot devices and see if in the cmd it says "HTC Bootloader" or "Android Bootloader" I am not sure which one it is.
As for the ringtones, here is the link for the download in Cyanogen's 4.2.2 threat http://n0rp.chemlab.org/android/audio-resources.zip That downloads a zip of all the stock ringtones. Just upzip the file and place it on the root of your sd card.
tazz9690 said:
Cyanogen's rom has dynamic apps2sd. If it senses that you have a partition, it will do apps2sd. If you don't have an ext, it will save it to the phone, so it will work that way too.
For the fastboot, do you even have your computer set up for the use of ADB and fastboot? Like having the latest SDK downloaded and set up for your computer? That might be why it says, waiting for devices. When you do cd fastboot, afterward type fastboot devices and see if in the cmd it says "HTC Bootloader" or "Android Bootloader" I am not sure which one it is.
As for the ringtones, here is the link for the download in Cyanogen's 4.2.2 threat http://n0rp.chemlab.org/android/audio-resources.zip That downloads a zip of all the stock ringtones. Just upzip the file and place it on the root of your sd card.
Click to expand...
Click to collapse
thats good to know. so if you ext 2 will cm use ext 2 & if you converted it will it use ext 3? also how can i tell what i have ext 2 or ext 3 other than knowing if i click convert to ext 3? i downloaded the SDK and used the usb folder when the computer was looking for drivers & it says it installed drivers successfully; so now when im in fastboot usb on my phone the computer in device manager shows bootloader (cant remember exactly what it says untill i get home); & when my phone is in recovery the driver shows ADB (cant remember the exact name till i get home also); and then i do the codes because my fastboot & sdk folders are on my desktop; when i downloaded the sdk folder i dont think i did anything with it as far as isntalling it, what does the sdk folder do? lol. sorry..
thanks for the ringtones my pops says mucho gracias.
jdubdieslo said:
thats good to know. so if you ext 2 will cm use ext 2 & if you converted it will it use ext 3? also how can i tell what i have ext 2 or ext 3 other than knowing if i click convert to ext 3? i downloaded the SDK and used the usb folder when the computer was looking for drivers & it says it installed drivers successfully; so now when im in fastboot usb on my phone the computer in device manager shows bootloader (cant remember exactly what it says untill i get home); & when my phone is in recovery the driver shows ADB (cant remember the exact name till i get home also); and then i do the codes because my fastboot & sdk folders are on my desktop; when i downloaded the sdk folder i dont think i did anything with it as far as isntalling it, what does the sdk folder do? lol. sorry..
thanks for the ringtones my pops says mucho gracias.
Click to expand...
Click to collapse
I don't think any builds use ext2 anymore. They all either use ext3 or ext4. You have to make an ext2 first though, before you can convert it to ext3. Same goes for ext4, you have to have ext3 before you can upconvert to it. Just use ext3 just to be safe. If you go into "Parted" through the recovery image by typing in "parted /dev/block/mmcblk0" in adb shell, then typing 'print' it will show how big your fat32 is, it'll say which ext you have as well as your size, and the same for linux swap.
For a SDK, the folder stores the drivers needed for fastboot and adb in it. You should save it to the root of your C:\ drive because it makes things easier. I recommend you set up SDK using this thread guide: http://forum.xda-developers.com/showthread.php?t=532719
Setting up the Android 1.5r2 SDK
Download the file from above
Unzip to your desktop
Take the "android-sdk-windows-1.5_r2" folder and move it to the root of your hard drive (C:\)
Right click on My Computer and click properties
Select the Advanced Tab or Advanced System Setting (Vista)
Select Environment Variables...
Press New
For Variable Name type: adb
For Variable Value type: C:\android-sdk-windows-1.5_r2\tools
--------------------------------------------------------------------------
Preparing your phone for ADB
Go to Settings on your phone
Select Applications
Select Development
Make sure 'USB Debugging' is checked
--------------------------------------------------------------------------
Installing Drivers
Plug in your phone through USB and DO NOT MOUNT IT!!!!!
Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
Let it load
Once it cant find them select "Install drivers from my pc"
The drivers you need are in the Android SDK 1.5r2 folder (C:\android-sdk-windows-1.5_r2\usb_driver)
Depending on your OS pick x86 or amd64
You ADB Android Device should now be installed! Good Job
Those are basically what you need to look at.
jdubdieslo said:
I would like to know exactly what these do before i do them. sorry guys im a noobe..
Build:RA-magic-v1.2.3G
- wipe sd:ext partition
- Wipe SD:dalink-cache
- part sd:fat32+ext2+swap
- part sdnly fat32
- repair ext filesystem
- convert ext2 to ext3
- fix apk uid mismatches
- fix rotate
- USB Mass storage on
- USB Mass Storage off
Also how do you flash this recovery img from the Recover Flasher App, VS using CMD & fastboot.
Click to expand...
Click to collapse
Don't mean to hijack your thread OP, but I do have a question that I hope someone can answer. When partitioning the SD card, you choose the option I put in Bold. After that, could you use this link:
http://forum.xda-developers.com/showthread.php?t=535914
To adjust the different sizes of the 3 partitions? I know that in order to run any Hero ROMS, your SD card has to be partitioned with at least 3 (fat32+ext2+swap) parts. This is the only part that still confuses me when it comes to adequately rooting.
If you are using ubuntu, you create the partitions you want, as well as the size. If you use the recovery image, you would just be adding an unnecessary step because it will just get deleted when you make your partitions again with Ubuntu.
tazz9690 said:
I don't think any builds use ext2 anymore. They all either use ext3 or ext4. You have to make an ext2 first though, before you can convert it to ext3. Same goes for ext4, you have to have ext3 before you can upconvert to it. Just use ext3 just to be safe. If you go into "Parted" through the recovery image by typing in "parted /dev/block/mmcblk0" in adb shell, then typing 'print' it will show how big your fat32 is, it'll say which ext you have as well as your size, and the same for linux swap.
For a SDK, the folder stores the drivers needed for fastboot and adb in it. You should save it to the root of your C:\ drive because it makes things easier. I recommend you set up SDK using this thread guide: http://forum.xda-developers.com/showthread.php?t=532719
Those are basically what you need to look at.
Click to expand...
Click to collapse
So if u have a ext 3 how do u get ext 4? Also wat is linux swap? And yea i didnt do all that im sure thats why i was getting < waiting for device >. I will let u know the outcome of the splash screen... thanx.
jdubdieslo said:
So if u have a ext 3 how do u get ext 4? Also wat is linux swap? And yea i didnt do all that im sure thats why i was getting < waiting for device >. I will let u know the outcome of the splash screen... thanx.
Click to expand...
Click to collapse
If you want ext3, you have to go into parted like I stated in a previous post and create your partitions that way. From there, to upgrade to ext3, you type "upgrade_fs". You now have ext3. If you want ext 4, after that you would type
"tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -fpDC0 /dev/block/mmcblk0p2"
That's just too much work for me. I am fine with ext3. If you want a more in depth explanation, go to this thread: http://forum.xda-developers.com/showthread.php?t=534714&highlight=wipe+partition
Linux swap, I believe I explained in one of my early posts. The mytouch only has 192 mb of ram. The Hero's have 288 and so do the 32A board Sapphire phones like the HTC Magic and the Rogers Magic. Since we were unfortunate to get that low of Ram, if you try to run a hero rom without the linux partition, the phone will lag, freeze, and get load screens constantly. Using a linux swap partition makes it possible to run the Hero ROM's at a decent speed, though it will not be as fast as if you had the actual HTC Hero phone or a 32A Sapphire.
Hi,
I'm not a developer but I think my idea is great.
1. Using CACHE partition (50Mb) as virtual ram
- I see that we are using swap ext partition to increase virtual ram, but access data speed of sdcard is not fast enough (for class2 or class4 sdcard),
- And I see that we have 50Mb free in cache partition which are only used when we use OTA update. But if we use a moded rom, why do we use OTA update ? access data speed of internal memory is really good, why don't we use cache partition as virtual ram ???
2. Runing faster with dalvik-cache on internal memory.
- As you know, after install an application, we will have apk file in data/app or data/app-private and some odex file in dalvik-cache.
- If we only use app2sd with data/app and data/app-private, our application will run faster.
There was already an idea like that.
You mean using CACHE as swap partition.
At the moment this isn't possible because we would have to format this partitions and recovery wouldnt work then.
maxisma said:
There was already an idea like that.
You mean using CACHE as swap partition.
At the moment this isn't possible because we would have to format this partitions and recovery wouldnt work then.
Click to expand...
Click to collapse
What are the partitions formatted as now?
ivanmmj said:
What are the partitions formatted as now?
Click to expand...
Click to collapse
YAFFS2
Swapfiles aren't compatible with it.
Only 1 solution:
Create a loop-ext-file and loop mount it, put a swapfile on it and you're set.
But thats slow.
The partition wouldn't have to be formatted, you can use zeroed images for swap space, I've done it in Solaris before and I'm sure some of the memory techniques for Android have implemented this before, don't quote me!
maxisma said:
There was already an idea like that.
You mean using CACHE as swap partition.
At the moment this isn't possible because we would have to format this partitions and recovery wouldnt work then.
Click to expand...
Click to collapse
Is it not possible to use something like a swap file on the cache partition? I'm not familiar enough with the workings of Android, but I know that swap files are supported in Linux and I've seen it mentioned for Android, so is there any reason this wouldn't work? It would be an amazing improvement. I see you answered while I was typing this post, thanks.
I do wish people would stop putting their ideas as [new solution] and stuff and just put it forward as an [idea] or [concept] until there's a working implementation.
maxisma said:
YAFFS2
Swapfiles aren't compatible with it.
Only 1 solution:
Create a loop-ext-file and loop mount it, put a swapfile on it and you're set.
But thats slow.
Click to expand...
Click to collapse
Would the loop mounting be slow to create or slow for performance? I wouldn't mind a bit more boot time if it meant onboard swap, but obviously if it's a slowdown vs SD or none at all, it's probably not worth it.
How would u format a folder like that??? We could elimate the recovery and instead of useing it for 50 mb swap. Let's use it on the system folder. And then we could than drag eclair in our phones but then we would have to be stuck have just one rom. We could also ask rom devs to make us img instead of .zip roms so we could just flash the images
What about Nandroid etc?
This is a must-have.
Also I think the formation of the partition would be overwritten with every reboot..
But idk.
Won't try it out.
there's an issue for using /cache as swap or compcache like maxisma said.. recovery uses a small portion of /cache to write it's files to temporarily so this wouldn't be an easy work around. this idea was already started a long time ago by shafty and well, it never turned out.
maxisma said:
YAFFS2
Swapfiles aren't compatible with it.
Only 1 solution:
Create a loop-ext-file and loop mount it, put a swapfile on it and you're set.
But thats slow.
Click to expand...
Click to collapse
You don't need a swap partition, neither real nor looped
Code:
# dd if=/dev/zero of=/cache/swapfile bs=1M count=XX
# mkswap /cache/swapfile
# swapon /cache/swapfile
Ooops, forget about it: swapon (as a busybox internal) can't do that on my CM. It does work on my machines :/
But remember guys we also have the spl as backup. We could make the nandro-backup into a .nbh file to flash but it takes a longer time to do it. We could make an app or script that does it for as. I tried to customize the init.rc, build.prop, and fstab but it changes everytime - reboot. What should I do? These files were rewriten when I rebooted. If you guys want to talk this over with me and some of my friends on gtalk, I'll create a group for us to talk more in depth. My email address is [email protected].
jroid said:
there's an issue for using /cache as swap or compcache like maxisma said.. recovery uses a small portion of /cache to write it's files to temporarily so this wouldn't be an easy work around. this idea was already started a long time ago by shafty and well, it never turned out.
Click to expand...
Click to collapse
How much code do we have for recovery? I know there are modified recovery images, I have used Cyano and RA. It seems like it would be possible to create a small ramdisk or loop mount for recovery to use and recover this RAM for use by our applications. Or a mod to the init script to format that device properly for recovery when it boots and run mkswap on it when we boot to normal mode. I'm not real familiar with Android at this level, so perhaps I'm way off base here.
Do you know how to put a custom init.rc on to the g1? When I reboot it is gone and goes back to the orginal init.rc
mohsinkhan47 said:
Do you know how to put a custom init.rc on to the g1? When I reboot it is gone and goes back to the orginal init.rc
Click to expand...
Click to collapse
You have to change the one in the initial ram disk.
1) unpack boot.img
2) change initrc
3) repack boot.img
4) flash
farmatito said:
You have to change the one in the initial ram disk.
1) unpack boot.img
2) change initrc
3) repack boot.img
4) flash
Click to expand...
Click to collapse
I did that but got " broken image file ". What do I do now?
If the 50MB on the cache partition is never used, would it be possible to re-map it to /system? Probably something akin to what the "Death" SPL did.
That is what I said but then I guess you would have to reformat the phone to accept a different amount of info in this case megabytes. We would have to reformat the system folder to hold more info on it.
rgawenda said:
You don't need a swap partition, neither real nor looped
Code:
# dd if=/dev/zero of=/cache/swapfile bs=1M count=XX
# mkswap /cache/swapfile
# swapon /cache/swapfile
Ooops, forget about it: swapon (as a busybox internal) can't do that on my CM. It does work on my machines :/
Click to expand...
Click to collapse
YAFFS2 doesn't support swapfiles.
Thats why would need a loop mounted ext-image.
Placing a swap file/partition in internal memory is risky business. Flash memory has a limited number of write cycles, and swap does many writes per second. Whereas an SD card can be replaced if worn out, internal memory cannot, so the phone becomes a brick if the flash memory is damaged by swapping.
Hi, I have been testing several NAND set-ups
-system to NAND and data to resized data,img
-system to resized system.img and data to resized data.img
-system to NAND and data to ext2
...
I am currently using NAND and data to ext2 partition, so all apps are installed there. After lots of reading I can not understand posts that are obsolete and posts that are not so I would appreciate if someone can explain me the basics and optimal setup for incubus superfroyo RLS14/15 roms:
I have now 4 partitions:
1) fat32,
2) 1,5G ext2 (app, app-private etc),
3) 1,5G ext2 (lost+found folder) and
4) 96M lynux-swap.
- How can I turn ext2 to ext3? do I need to do so? I have also read about ext4. Upgrading to ext3/ext4 applies to my 2) partition, to my 3) partition or to both? will I loose data stored? "there is no ext3/ext4 fs because there isn't the support on the compiled kernel. Ext3/ex4 are journal file system so are bad for limited writing device like nand or sd and thre is no good rease to use it" answered by l1qd1.
- How can I check if my lynux-swap is enabled and used by the rom?
- Do partitions 2) and 3) really need to be <1,5 G? why so?
- Can I take apk from apps folder in partition 2) in case I want to keep them for future fresh installs?
- What is lynux-swap optimal size? a 1,5G partition would be worse than 96 M? Why?
- Which tools are you using with incubus roms to manage installaion location and similar functionalities?
Another big mark I have is about deoxeding installed aps (not belonging to the ROM). Should I do it? why? how?
Pretty basic stuff I guess for experienced users & programmers, but I am new to lynux and android. Have read lots of things but it is difficult to learn by myself what would work with our Polaris and incubus ROMS and dzo/kk kernels,
Stick to ext2 man, you won't turn your old engine to 240mph on a Ford Model T.
You're not getting some major boost if the hardware dosn't use it, so I'd stick with ext2.
And you also want Super FroYo on your ext2 partition, yes? I'm here to help.
- How can I check if my lynux-swap is enabled and used by the rom?
adb shell
Code:
free
if on swap you have 0 it isn't enabled.
Code:
swapon /dev/device
to enable it or i suggest you tu use compcache.
- Do partitions 2) and 3) really need to be <1,5 G? No
- Can I take apk from apps folder in partition 2) in case I want to keep them for future fresh installs? Yes but not all apk support this
- What is lynux-swap optimal size? a 1,5G partition would be worse than 96 M? Why? Too Big = more sparse but it's a problem only for real disk so you can create a swap big as you want but it's unuseful (100 M is enaught)
i suggest you to switch to my kernels because are more updated and kk move to another device.
Yah l1q1d I love ur kernels. Eager for more !
l1q1d, I am testing your kernel as you advised me. I could apply the wifi patch without problems using your androiupdate18-09-10, as you told me some time ago they are both 2.6.25.
However I do not manage to turn linux-swap on: that's what I do: I install ubuntu, I use G-Parted to create partitions on the sd card. When I do so, the third partition is always shown as linux-swap in G-Parted but when I test adb shell -> parted -> print, it always shows as ext2. I can not dismount and can not swap on it.
The other way round, if I deleted all partitions with G-Parted and create the partitions with mkpartsfs or if I use mkfs to change the third partition from ext2 to linux-swap, then sometimes I can swap on it (directly on adb shell or with G-Parted) but when I unplug the device will tell me the card is empty and will not be able to mount it, access it from ubuntu or from the device. If I reboot then, the system will hang until I install both data and sysetm to nand. This happens no matter if I activate or not from the polaris or even if I switch on or off usb mode. The card at that point is useless. I guess the partition table or some other basic file is messed.
Could you please explain a little more how can I come with a 13.5G fat32 partition, a 2,4 ext2 partiions and a 0,1 lynux swap swapped on partition??
I really need to test this set up, since with the standard set-up (system to nand, fat32 for files and ext2 for installed apps I can not install all apps I use since performance drops significantly).
regards
well, ... dumb me, maybe with compcache you are referring to launch a script?
where do I get this compcache.sh? how do I launch it? from adb? from the terminal? from the sd card?...
Hello,
I really need help with the following:
I have a HTC hd2 and i want to install the ROM from team blue droid (http://forum.xda-developers.com/showthread.php?t=1275119).
So this is what i do.
I put off my WPH and start install HSPL4 version 2.08 HSPL without problems.
So i next i open the map Radio leo 2.15.50.14 on my pc and i opened the CustomRuu.exe.
Again without problems.
Next i put MAGLDR 1.13 on my phone.
Yes yes again without problems.
I flash my HD2 so i can go in the ClockworkMod recovery V3.0.0.5.
Without problems
Now i get out my 8GB SDHC card out of my phone and put it in the pc.
Downloading TBD_Sensation_XL_Gen3_stock_V3.6 and i put it on my HD2.
Now i go start my phone in MAGLDR 1.13 and i select option 8 (AD RECOVERY)
Install zip from SD card.
And i start installing TBD_Sensation_XL_Gen3_stock_v3.6.zip
This is what i get:
! ! ! ! ! ! ! ! ! ! ! WARNING ! ! ! ! ! ! ! ! ! ! !
You are attempting to install TDB on an EU HD2 without the required 1Gb minimum ext partition on your SD card.
Please reformat tour card and then use recovery to partition it as instructed in the TBD thread.
INSTALL FROM SDCARD COMPLETE.
So i put the card in the pc and i see this:
FAT32
USED 2,61 GB
FREE 4,66 GB
Can somebody please help me??????
You need to go to AD recovery option in magldr again, then go to advanced then to partition sd card.
Select 1024 for the sdext partition and 0 for swap.
The rest of the card will be partitioned to fat32 file sysytem.
Then re-copy zip to sd card and proceed as before...
Now
shanman-2 said:
You need to go to AD recovery option in magldr again, then go to advanced then to partition sd card.
Select 1024 for the sdext partition and 0 for swap.
The rest of the card will be partitioned to fat32 file sysytem.
Then re-copy zip to sd card and proceed as before...
Click to expand...
Click to collapse
Now trying hope it works
Nooo
Now it says.
Error error (status 0)
Im now downloading zip again and put it again on sd card.
Sorry for double post
Go to recovery again and wipe cache partition, wipe data and in advanced wipe dalvic cache.
does the error appears when you try to install?
Answer
shanman-2 said:
Go to recovery again and wipe cache partition, wipe data and in advanced wipe dalvic cache.
does the error appears when you try to install?
Click to expand...
Click to collapse
wipe cache partition OK
wipe data OK
wipe dalvic cache OK
does the error appears when you try to install? YES
NOW TRYING AGAIN
-------------------------------------------
NOW EXTRACTING ROM FILES
jeffreydevos said:
Now it says.
Error error (status 0)
Im now downloading zip again and put it again on sd card.
Sorry for double post
Click to expand...
Click to collapse
Good idea.
I then suggest you go to the rom thread and read carefully the installation instructions. This rom will not work without an ext partition on EU hd2 handsets as internal memory size is too small.
shanman-2 said:
Good idea.
I then suggest you go to the rom thread and read carefully the installation instructions. This rom will not work without an ext partition on EU hd2 handsets as internal memory size is too small.
Click to expand...
Click to collapse
Where can i see internal memory space.
PATCH APPLIED
setting busy box
90%
SEE PAGE 2
SORRY this post was a mistake
If you have adb installed you can do
adb shell
then type
#free
and you will see something like this...
free
total used free shared buffers
Mem: 421384 320512 100872 0 5456
-/+ buffers: 315056 106328
Swap: 0 0 0
Install complete but now it stuck on TBD roms (splash screen)
Have you partitioned your nand correctly
MAGLDR/CLK EU 5/175/8 with 1024mb Ext4 Partition (the SD-Ext being mandatory!)
175MB SYSTEM PARTITION
8MB CACHE.
shanman-2 said:
Have you partitioned your nand correctly
MAGLDR/CLK EU 5/175/8 with 1024mb Ext4 Partition (the SD-Ext being mandatory!)
175MB SYSTEM PARTITION
8MB CACHE.
Click to expand...
Click to collapse
Huh wtf i'm NOOB
jeffreydevos said:
Huh wtf i'm NOOB
Click to expand...
Click to collapse
Therefore you have a lot of reading to do..
You have to set up a partition big enough to hold your rom!!!
There are numerous guides out there.
If your not already using the HD2 Nand Toolkit I suggest you download http://forum.xda-developers.com/showthread.php?t=1090783 Thanks ksubedi it and do this..
1.Task29....this wipes all data from nand.
2. magldr repartion ..set sizes 175 for system partition and 8mb for cache don't worry about the 5 this is set by default.
3. Magldr Update recovery.
4.Install nand as before....
Read read read.
http://forum.xda-developers.com/showthread.php?t=1021837 Thanks T-Macgnolia
http://forum.xda-developers.com/showthread.php?t=1336700 Thanks yz.hd
I am going out now it's Paddy's Day and I am a Paddy!! lol
Thanks man now it works I LOVE U
No need to go that far,but I am glad your up and running..