News:

 

Author Topic: HowTo: Root / Unroot / Install Cupcake & Custom ROM / Apps 2 SD - NEWB GUIDE  (Read 85667 times)

  • No avatar
  • ****
  • Karma: 20
May 03, 2009, 08:43:57 pm
ah crap, i know i followed the direction correctly, i formatted the card to fat32 and copied the image over after unzipping it and the update fails and now I am stuck in the multi colored boot screen and i can't get passed it.  I took out the battery for awhile and it still keeps bringing me to the multi colored boot screen. I'm not sure what to do now...

try naming the file just update and not update.zip

sometines with windows vista it hides the file type so instead of it being update.zip, its really update.zip.zip becuase windows is hiding the file type... i had a similiar issue, now i just name it update

  • No avatar
  • ****
  • Karma: 48
May 03, 2009, 09:08:31 pm
ah crap, i know i followed the direction correctly, i formatted the card to fat32 and copied the image over after unzipping it and the update fails and now I am stuck in the multi colored boot screen and i can't get passed it.  I took out the battery for awhile and it still keeps bringing me to the multi colored boot screen. I'm not sure what to do now...

Also check to confirm that the camera button is not stuck in the down position which would send you to the bootloader everytime.
Black T-Mobile G1
HardSPL BootLoader
Cyanogen v4.0.4
gChrome Theme (Customized)
SD Card 8GB Class 6 Swap: 32MB, ext4: 512MB, Fat32: 7GB

Proud Member of Redsox Nation!

Lookin for an Offical / Custom ROM, check here! http://code.google.com/p/android-roms/

HowTo: Root / Unroot / Install Cupcake & Custom ROM / Apps 2 SD - NEWB GUIDE

  • No avatar
  • ****
  • Karma: 47
May 03, 2009, 09:27:23 pm
guys go here is the best place to  j break and root your phone it cant get any easyer then this step by step

http://android-freak.org/    go to the 2 video and then the 3 one all the links u in are there to  trust me works good  and then to get cupcake go here and radio to


http://www.youtube.com/watch?v=23rG4SlnynE&feature=related



to get the links hes talks about in the video click on

AnthonyMoreno24
April 28, 2009
(more info) <~~~~~there is were u click under hes name
<a href="http://tinypic.com" target="_blank"><img src="http://i42.tinypic.com/j0i4xe.jpg" border="0" alt="Image and video hosting by TinyPic">[/url]


follow me to  know the news roms out for hero and so on
www.twitter.com/tato_305

  • No avatar
  • ***
  • Karma: 8
May 03, 2009, 11:20:06 pm
Erick you probably HAD the modified recovery image but when you flashed the rom. It also flashed the default recovery image with it.  I believe jf build will do this.  I think if you go back and follow the directions you posted again. When you got initial root it will put the modded recovery image back on.  But if you want better confirmation go over to xda and do a search for reinstalling modified recovery image. I don't think it will effect the rom. It will just reflash the recovery image.  But go over to xda and do a search if you don't want to take that risk
I open terminal and try to connect to localhost but it gives me this error: "Error while connecting to server: Localhost/127.0.0.1:23 - Connection refused" followed by: "Error while receiving from server: Null" So basically I can't flash the rom, is there another way to do this?

On a separate note, I want to do Apps2SD, I'm a bit confused with the process, am I supposed to partition the SD card before I install the OS or can I do it after? and what is the difference between the builds that have A2SD and the ones that don't? I installed one that has A2SD is this supposed to make a difference? Also, what are "symlinks" and how do you set them up?
« Last Edit: May 03, 2009, 11:36:58 pm by erickrios »

  • No avatar
  • ****
  • Karma: 48
May 03, 2009, 11:48:16 pm
If you use the JF v1.50 build it functions as both A2SD or not, so it looks to see if you have an Ext2 partition on the card if so it mounts it else it runs as a normal non-A2SD build.

"symlinks" are what links the newly created partition's location to the location on the data partition. (i.e. you moved your /data/data over to your card so it's new location will be system/sd/data the "symlink" will allow the OS to see this change.)

The cmds in the = Setting up your phone to work with Apps 2 SD (A2SD) = section that start like this:

ln -s /system/sd/app /data/app
ln -s /system/sd/data /data/data
ln -s /system/sd/dalvik-cache /data/dalvik-cache

Are your symlinks.  So your linking the /data/app folder to your new location which is /system/sd/app (which is your ext2 partition on the card).

When I did this process I actually installed the OS first (I used the JF v1.50) and then I created the partitions but you should be able to do it the other way also.

As for the issue connecting via telnet.  Do you have your Wifi radio turned on?  Also are you connected to a wireless router via your phone?

Well the different b/w say TheDudes v0.93 Non-A2SD and TheDudes v0.93 A2SD build is nothing minus the ability to have A2SD.  As for the differences b/w the haykuro's, JF's, TheDudes builds I attempted to put the big hitters in the table located above.

For me I've used them all and I find myself always coming back to JF's build so far.  Seems the most stable for me and on the faster end of the builds out. 
« Last Edit: May 03, 2009, 11:57:25 pm by JMastermind »
Black T-Mobile G1
HardSPL BootLoader
Cyanogen v4.0.4
gChrome Theme (Customized)
SD Card 8GB Class 6 Swap: 32MB, ext4: 512MB, Fat32: 7GB

Proud Member of Redsox Nation!

Lookin for an Offical / Custom ROM, check here! http://code.google.com/p/android-roms/

HowTo: Root / Unroot / Install Cupcake & Custom ROM / Apps 2 SD - NEWB GUIDE

  • No avatar
  • ***
  • Karma: 6
May 04, 2009, 12:49:54 am
1.  Steel browser seems to have issues with 1.5.   Screen goes black even while typing and you can barely see the pages.  Have to hit back arrow and that sometimes works.
1.  Steel browser seems to have issues with 1.5.   Screen goes black even while typing and you can barely see the pages.  Have to hit back arrow and that sometimes works.
[/quote]
Disable the "slide controls" for the Steel browser. You can disable the keyboard too, but it doesn't seem to affect it like "slide controls" does.
Android - Live Long and Prosper!

  • No avatar
  • *****
  • Karma: 40
May 04, 2009, 07:47:27 am
1.  Steel browser seems to have issues with 1.5.   Screen goes black even while typing and you can barely see the pages.  Have to hit back arrow and that sometimes works.
1.  Steel browser seems to have issues with 1.5.   Screen goes black even while typing and you can barely see the pages.  Have to hit back arrow and that sometimes works.
Disable the "slide controls" for the Steel browser. You can disable the keyboard too, but it doesn't seem to affect it like "slide controls" does.

[/quote]



Thanks.  That fixed the dark screen, but the main thing I like about Steel is the full-screen mode (wish the main browser had it).  I might as well use the main browser since full-screen does not appear to work with Steel in 1.5.

Hope Steel gets fixed and full-screen works again sometime.

In regards to a2sd, I am more naive than normal, since I thought you would be able to leave some apps on the device.  I will not repeat some concerns, but here is my post about it:  http://forums.tmonews.com/index.php?topic=8974.new#new

In summary, a2sd creates its own set of constraints, if I understand the process correctly.  The real answer is to have an option of putting the apps on device or card for each app, but we do not appear to have that.
« Last Edit: May 04, 2009, 10:05:11 am by rushmore »
Beer is good!

  • No avatar
  • ***
  • Karma: 8
May 04, 2009, 10:39:28 am
If you use the JF v1.50 build it functions as both A2SD or not, so it looks to see if you have an Ext2 partition on the card if so it mounts it else it runs as a normal non-A2SD build.

"symlinks" are what links the newly created partition's location to the location on the data partition. (i.e. you moved your /data/data over to your card so it's new location will be system/sd/data the "symlink" will allow the OS to see this change.)

The cmds in the = Setting up your phone to work with Apps 2 SD (A2SD) = section that start like this:

ln -s /system/sd/app /data/app
ln -s /system/sd/data /data/data
ln -s /system/sd/dalvik-cache /data/dalvik-cache

Are your symlinks.  So your linking the /data/app folder to your new location which is /system/sd/app (which is your ext2 partition on the card).

When I did this process I actually installed the OS first (I used the JF v1.50) and then I created the partitions but you should be able to do it the other way also.

As for the issue connecting via telnet.  Do you have your Wifi radio turned on?  Also are you connected to a wireless router via your phone?

Well the different b/w say TheDudes v0.93 Non-A2SD and TheDudes v0.93 A2SD build is nothing minus the ability to have A2SD.  As for the differences b/w the haykuro's, JF's, TheDudes builds I attempted to put the big hitters in the table located above.

For me I've used them all and I find myself always coming back to JF's build so far.  Seems the most stable for me and on the faster end of the builds out. 
Ok, so if I understand this correctly, if I installed a build that says "A2SD" I'm good to go? no to other settings? the system will automatically start moving apps to SD?  I don't think that's the case because I just installed a 3mb app and it went from 46mb to 41mb, sorry if I'm making people go in circles but I'm not too saavy when it comes to commands, if I do need to input commands, do I do it from the phone or from the pc? what are the steps? Thanks in advance.

BTW, I tried using the apps2sd from XDA but it kept making my phone go into a loop, so that's a no go.

As for the issue connecting via telnet.  I do not have my Wifi radio turned on?  Also I am not connected to a wireless router via my phone.

Also, I still can't do a Nandroid backup, I don't have the ALT+B option on the recovery menu.

I know, I'm full of issues. Aside from that everything seems to be working fine.
« Last Edit: May 04, 2009, 10:48:14 am by erickrios »

  • ***
  • Karma: 16
May 04, 2009, 11:26:56 am
i'm having a lot of issues with the apps2sd as well... i dont understand it at all... i've followed the directions but have no idea whether it's working or not ...  i dont have the Alt+B option or the Alt+X command to get to the other recovery command to input the rest of the commands for apps2sd...


  • No avatar
  • *****
  • Karma: 40
May 04, 2009, 11:34:01 am
i'm having a lot of issues with the apps2sd as well... i dont understand it at all... i've followed the directions but have no idea whether it's working or not ...  i dont have the Alt+B option or the Alt+X command to get to the other recovery command to input the rest of the commands for apps2sd...



I just ordered a class 6 16gb card, so I have a few days to sort it out.  Newegg has them for $56 delivered cost. 

I would like to know is it possible to leave the current apps on my device memory and then after setting the card up, will the apps after that install to the card and the ones still in the device work as well?  Of course, when updates are available, I guess that would be a problem.

That would be better, since I would then have the core apps I want on my device.  Somehow that sounds too convenient to be reality.
Beer is good!

  • ***
  • Karma: 16
May 04, 2009, 11:46:51 am
i'm having a lot of issues with the apps2sd as well... i dont understand it at all... i've followed the directions but have no idea whether it's working or not ...  i dont have the Alt+B option or the Alt+X command to get to the other recovery command to input the rest of the commands for apps2sd...



I just ordered a class 6 16gb card, so I have a few days to sort it out.  Newegg has them for $56 delivered cost. 

I would like to know is it possible to leave the current apps on my device memory and then after setting the card up, will the apps after that install to the card and the ones still in the device work as well?  Of course, when updates are available, I guess that would be a problem.

That would be better, since I would then have the core apps I want on my device.  Somehow that sounds too convenient to be reality.

i ordered the same one... the adata one right?

  • No avatar
  • ***
  • Karma: 8
May 04, 2009, 11:54:46 am
i'm having a lot of issues with the apps2sd as well... i dont understand it at all... i've followed the directions but have no idea whether it's working or not ...  i dont have the Alt+B option or the Alt+X command to get to the other recovery command to input the rest of the commands for apps2sd...


Glad to know I'm not the only one.

  • No avatar
  • ****
  • Karma: 48
May 04, 2009, 12:08:16 pm
To confirm whether A2SD is working properly from a terminal / ADB Shell type:

busybox df -h

You should see something along these lines below:

/dev/block/mccblk0p2 532.9M 67.1M 438.7M 13% /system/sd

The key is that you see one of the entries as /system/sd

This means that the phone is picked up your Ext2 partition.

Next if you see the above you can check that you setup the symlinks properly.

To do this type these cmds:

cd /data/app
pwd

The terminal returns /system/sd/app which means that the apps are now being saved onto the Ext2 Partition since the /system/sd = your Ext2 partition.

If it returns /data/app then the apps are still being installed onto the phone's internal rom.

Hope this helps, let me know if not.
Black T-Mobile G1
HardSPL BootLoader
Cyanogen v4.0.4
gChrome Theme (Customized)
SD Card 8GB Class 6 Swap: 32MB, ext4: 512MB, Fat32: 7GB

Proud Member of Redsox Nation!

Lookin for an Offical / Custom ROM, check here! http://code.google.com/p/android-roms/

HowTo: Root / Unroot / Install Cupcake & Custom ROM / Apps 2 SD - NEWB GUIDE

  • ***
  • Karma: 16
May 04, 2009, 12:18:30 pm
and this is why you're the man :) yea it showed what you said... guess it's working properly... when i get the new SD card... do i just copy everything over to it? or should i reinstall everything?

  • No avatar
  • ***
  • Karma: 8
May 04, 2009, 12:40:13 pm
To confirm whether A2SD is working properly from a terminal / ADB Shell type:

busybox df -h

You should see something along these lines below:

/dev/block/mccblk0p2 532.9M 67.1M 438.7M 13% /system/sd

The key is that you see one of the entries as /system/sd

This means that the phone is picked up your Ext2 partition.
Yes, I see this!

Quote
Next if you see the above you can check that you setup the symlinks properly.

To do this type these cmds:

cd /data/app
pwd

The terminal returns /system/sd/app which means that the apps are now being saved onto the Ext2 Partition since the /system/sd = your Ext2 partition.

If it returns /data/app then the apps are still being installed onto the phone's internal rom.
It returns /data/app  :(

So I go back to follow the steps to setup A2SD but when I reboot to the recovery console I don't have the ALT+X option  >:(

  • No avatar
  • ****
  • Karma: 48
May 04, 2009, 12:40:41 pm
lol thanks!

As for the new SDCard once you get it you can stick it in your phone an partition it or partition it via another method.

Then you can copy the data over to your sdcard's fat partition, as for the Ext2 partition you can use ADB Shell to pull the /system/sd/data partitions you moved over to your pc and then push them to the new card once you place it in the phone.  Also you could move the data over via a linux machine.  

As I only have a Windows box atm so i would just pull the info off the old card then install the new card, an push the data back to the card.

ADB Shell Cmds:

adb pull /system/sd/data /data
adb pull /system/sd/app /app
adb pull /system/sd/dalvik-cache dalvik-cache

Then push to new card

adb push /app /system/sd/app
adb push /data /system/sd/data
adb push /dalvik-cache /system/sd/dalvik-cache

Hope this helps.

@erickrios when you reboot into recovery what does the background of the screen look like?  Your phone is grabbin the partition, but your just missing the symlinks it seems. 
Black T-Mobile G1
HardSPL BootLoader
Cyanogen v4.0.4
gChrome Theme (Customized)
SD Card 8GB Class 6 Swap: 32MB, ext4: 512MB, Fat32: 7GB

Proud Member of Redsox Nation!

Lookin for an Offical / Custom ROM, check here! http://code.google.com/p/android-roms/

HowTo: Root / Unroot / Install Cupcake & Custom ROM / Apps 2 SD - NEWB GUIDE

  • No avatar
  • ***
  • Karma: 8
May 04, 2009, 12:59:25 pm
@erickrios when you reboot into recovery what does the background of the screen look like?  Your phone is grabbin the partition, but your just missing the symlinks it seems. 
When I press home+power I get the Excalmation point icon, so I press alt+L and I get the yellow letters with the same exclamation point in the background, it says:
Android system recovery utility
E:Can't open /cache/recovery/command

Home+Back - reboot system now
Alt+L - toggle log text display
Alt+S - apply sdcard:update.zip
Alt+W - wipe data/factory reset

  • ***
  • Karma: 16
May 04, 2009, 01:03:17 pm
@erickrios when you reboot into recovery what does the background of the screen look like?  Your phone is grabbin the partition, but your just missing the symlinks it seems. 
When I press home+power I get the Excalmation point icon, so I press alt+L and I get the yellow letters with the same exclamation point in the background, it says:
Android system recovery utility
E:Can't open /cache/recovery/command

Home+Back - reboot system now
Alt+L - toggle log text display
Alt+S - apply sdcard:update.zip
Alt+W - wipe data/factory reset

same exact thing for me....

  • No avatar
  • ***
  • Karma: 8
May 04, 2009, 01:14:20 pm
@erickrios when you reboot into recovery what does the background of the screen look like?  Your phone is grabbin the partition, but your just missing the symlinks it seems. 
When I press home+power I get the Excalmation point icon, so I press alt+L and I get the yellow letters with the same exclamation point in the background, it says:
Android system recovery utility
E:Can't open /cache/recovery/command

Home+Back - reboot system now
Alt+L - toggle log text display
Alt+S - apply sdcard:update.zip
Alt+W - wipe data/factory reset

same exact thing for me....
And this is why I can't do a Nandroid Backup either, no alt+b option

  • No avatar
  • ****
  • Karma: 48
May 04, 2009, 01:14:45 pm
Are you guys able to telnet into your phone and run these cmds?
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system  
      cd /sdcard            
      flash_image recovery recovery.img
      cat recovery.img > /system/recovery.img

Also note on telnet you'll need to be connected to a wireless router that seemed to work easiest for me.

Also which builds are you guys using? Or wanting to use?
Black T-Mobile G1
HardSPL BootLoader
Cyanogen v4.0.4
gChrome Theme (Customized)
SD Card 8GB Class 6 Swap: 32MB, ext4: 512MB, Fat32: 7GB

Proud Member of Redsox Nation!

Lookin for an Offical / Custom ROM, check here! http://code.google.com/p/android-roms/

HowTo: Root / Unroot / Install Cupcake & Custom ROM / Apps 2 SD - NEWB GUIDE