New (hybrid) Hero root method - Hero, G2 Touch Android Development

I have a slightly different Hero root method that persists the unlocked boot.img so you can do 'adb remount' to remount RW the file system... this was a key requirement for me!
Details:
http://android.modaco.com/content/h...oting-the-hero-step-by-step-my-hybrid-method/
Kudos to those who have gone before... I plan to add more stuff to the update.zip used here going forward.
P

yeah, adb as root is a must. it's the first thing i did when i received my hero
maybe it's better if you include wlan.ko in the update, because if someone who uses the update had a different kernel version wifi will not work

I´m receiving my HERO in a couple of hours. I´m going to use the 2Gb card that comes with the phone untill my new 16Gb class6 card arrives next week.
One question, do I need to "re-root" my device when I swap the cards next week?
I read something about that I have to have a card inserted during the root proccess.
I guess it is only used during the job...?!

modaco said:
Details:
http://android.modaco.com/content/h...oting-the-hero-step-by-step-my-hybrid-method/
Click to expand...
Click to collapse
To confirm, you do step 4 without the Hero connected to the PC?
Also, once rooted, what are my benefits? I understand I can move apps to the SD card? Is this done through the phone?

Well spotted, rejigged the instructions!
P

It seems to work...Thnx! no we will wait for a rom

Weird.. I keep getting "error: device not found" while in Device Manger I have a directory called "ADB Interface" with a device called "HTC Dream". Shouldn't that be "HTC Hero"?
So I do have a ADB device connected, but there's a fault somewhere..
EDIT: Found what I was doing wrong. I updated the driver for the SD card instead of the actual phone.. Stupid me. Great tutorial, but not fool-proof yet

As I enter 'adb push update-hero-signed.zip /sdcard/update.zip' I get the following error -
The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem.
What have I done wrong?
Okay, while typing this I realise I actually need to go to the folder I unzipped this too and then into the Hero folder. Maybe add this to instructions? Or is it just me being stupid?

Okay, seemed very easy (how do I check it worked).
I'm now looking at this about how to move apps to the SD card -
http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD
What does it refer to when it says "Setup in 5.0.1 onwards"?
Looks a little complex to me
I assume there are no custom ROM's out just yet...?

What is the difference with that method? Why hybrid? What is adb remount for?

Related

Moving Files From SD Card To Internal Memory Possible?

Hey guys, I love this site and the outpour of support. This is really the first issue I've run into with my evo thus far.
I want to move some files I made into ringtones from my SD card into the internal memory in the location of the stock ringer sounds. I want to do this so if I ever take out or swap SD cards I never have to worry about losing my ringers. I have been using the astro file browser but it apparently does not let me move or copy and paste the file(s) where I want them.
Is there any way to do this?
thanks a lot!
Also follow up question. My SD Card always mounts when I plug my phone into my PC. Is there a way to stop this? even when I put the phone to charge only, the SD card shows up in Win7.
You need to have root and NAND unlock if you want to do anything like that, but it is possible.
If you have NAND unlocked, you can do it with your phone running normally, but I would use ADB in your particular situation. You can also use something like Root Explorer, but it costs money.
If you do not have NAND unlocked, but you have toast's root, you must go into recovery first.
If you know how to use ADB and you have full root (w/ NAND unlock), you should be able to use a command line in Windows to this effect.
For ringtones:
Code:
adb shell cat /sdcard/ringtone.mp3 > /system/media/audio/ringtones/
For notification sounds:
Code:
adb shell cat /sdcard/notification.mp3 > /system/media/audio/notifications/
For the files on your SD.
Otherwise you can push from the Windows itself. In command line, navigate to the area in Windows where you have the sounds and do something like this:
Code:
adb push ringtone.mp3 /system/media/audio/ringtones/
or
Code:
adb push notification.mp3 /system/media/audio/notifications/
If you do not have NAND unlocked, but you have root and a custom recovery, go into the custom recovery, then apply this command.
Code:
adb shell mount /dev/block/mtblock4 /system
After that, the commands above should work normally.
Is it possible to copy the 8GB SD files to your computer, insert a 16GB into the phone, and them paste the files from the computer to the new SD card? Will I have to re-root?
I'm currently running Damage Control (full root) along with other root tweaks.
@Jykinturah- Won't he need to mount the file system first?
dang, I was hoping to do it without rooting. I was seriously contemplating rooting my phone before 2.2 was announced to be coming out "soon" but I am a little hesitant to take the plunge knowing that we should all have froyo soon. I may still consider this or may try and do some more research. Thanks for the help though! It is greatly appreciated.
GumboChief said:
@Jykinturah- Won't he need to mount the file system first?
Click to expand...
Click to collapse
If you are booted into the OS, no. If you are in recovery, yes.
Code:
adb shell mount /dev/block/mtblock4 /system
Not usually a great idea to write to system when booted up, but if its just a ringtone or something, meh.
rockdrummersrock said:
dang, I was hoping to do it without rooting. I was seriously contemplating rooting my phone before 2.2 was announced to be coming out "soon" but I am a little hesitant to take the plunge knowing that we should all have froyo soon. I may still consider this or may try and do some more research. Thanks for the help though! It is greatly appreciated.
Click to expand...
Click to collapse
I am not the best person to ask about whether you MUST be rooted to do this, but I think you need to.
Not sure if you can write to /system in recovery without being rooted.

JP3 Lag Fix- ext3 partition via script = 1610 quadrant

This is early, hacky, and built from the work of the guys on the Vibrant forums: http://forum.xda-developers.com/showthread.php?t=739647
anomalous3 figured out that "there was only one thing running as root that could safely be replaced; the boot logo player. So, all this does is replace the boot logo player with a script that calls userinit.sh from /data/local and then calls the (now renamed) bootlogo player for those of you who want that nifty startup screen"
What this does is allows the phone to mount an ext3 partition on boot so we can have a lag fix on JP3. I'm getting 1610 on quadrant and it's pretty stable. Please someone improve this!! shaunm89 and I just hacked this together from other's work.
Directions:
1.) Create an EXT3 partition on your external SD card of 2gb. It should be the second partition after the fat32 partition
2.) Flash Modaco's pre-rooted JP3 through Odin: http://android.modaco.com/content/s...insecure-boot-clockworkmod-recovery-for-odin/
3.) Boot the phone up. Open market and install Root Explorer (costs $) and Busybox. Update busybox
4.) Download these files: http://www.megaupload.com/?d=ONGUDAIJ
Copy them across to the SD card. Move playlogos1 and playlogosnow to /system/bin. Move userinit.sh to /data/local. Use root explorer to set permissions read (all 3) write (user only) execute (all 3). 0755 for those who know linux. You can use adb to push if you wanna get fancy.
5.) Reboot. Use root explorer to see if /sd-ext exists, and if so, whether /sd-ext/data and /sd-ext/dalvik-cache exist. If so it worked! If not, reboot again and then check.
That's it. Maybe someone can package this into an update.zip, maybe someone can take it and make it more stable and even faster (ext4 for example)
great! hope we could find an easier way
Sent from my GT-I9000
Is it a must to get the pre-rooted version of firmware? However using the original SP3 then root by myself?
On the other hand, I think I will modify your init.rc as I would rather to do all the moving by myself
Great job, hope we can get EXT4 soon.
In step 4, " Move userinit.sh to /local/data" should be data/local. Quadrant benchmark 1700.
seems like the script is calling busybox, but is it necessary to use root explorer. Could one substitute root explorer with adb?
I assume root explorer is just to do things adb can do, but locally on the device instead of attached via USB.
I tried this and it and i can see sd-ext and the subfolders but is this all we need to do?
is /data/data linked to the sdcard?
I am asking because i tried to reboot the phone without the sdcard in it and i can still see all my apps and everything is working fine.
Thoughts?
Also there is an error in section 4 of your instructions. there is no /local/data, it is /data/local.
Also playlogos1 and playlogosnow files needs to be renamed with a capital P for this to work.
No need to install root explorer if you can use adb to push the files. I just wasn't sure how to use adb to push to those directories.
I fixed the other mistake, thanks
This is not ideal but gets the job done. I'm hoping you guys can make it better!
Are you able to download anything from the market after doing this?
My market is just stuck on "starting download" and that's it.
clubtech said:
Are you able to download anything from the market after doing this?
My market is just stuck on "starting download" and that's it.
Click to expand...
Click to collapse
Protected apps don't show but i've been able to get all my other purchased and free apps installed and running fine.
Strange.
I'll flash again and try again.
Yea i don't know.
The market will download some and won't others.
Also my Quadrant test is getting stuck at 3/4 stage of the I/O test so it might be my SDCard which sucks.
I used a 16GB SanDik class 4 card.
clubtech said:
Yea i don't know.
The market will download some and won't others.
Also my Quadrant test is getting stuck at 3/4 stage of the I/O test so it might be my SDCard which sucks.
I used a 16GB SanDik class 4 card.
Click to expand...
Click to collapse
sandisk are one of the best cards you can get, kingston are known to get stuck at this stage, are you sure you don't have a fake sandisk card?
anyway if you leave it running after about 10 minutes quadrant will finish and still give you a massive score of over 1500.. just shows how reliable the quadrant scores are .
does it mean that quadrant is good but speed isnt?
Tried this fix on my JP3 but no luck. I don't get these folders.
Maybe it must be MoDaCo?
If I manually execute the script I get these folders, but after reboot they are gone.
Pretty new to this maybe I'm doing something wrong?
drygmasken said:
Tried this fix on my JP3 but no luck. I don't get these folders.
Maybe it must be MoDaCo?
If I manually execute the script I get these folders, but after reboot they are gone.
Pretty new to this maybe I'm doing something wrong?
Click to expand...
Click to collapse
Ok, did it from scratch today. Format, flashed MoDaCo prerooted JP3 and everything. Stilll I don't get this to work (
Please, any ideas?
Finally got it to run faster with this fix, thanks for sharing!
drygmasken said:
Ok, did it from scratch today. Format, flashed MoDaCo prerooted JP3 and everything. Stilll I don't get this to work (
Please, any ideas?
Click to expand...
Click to collapse
Also happened to me initially. /sd-ext won't show up or if it does, it doesn't contain the correct folders though it is listed when you run 'mount'. Laggy with Quadrant result at 975.
So, went back and reformatted SD w/Fat32 then EXT3, cleared cache/data, re-flashed Modaco's JP3, installed the latest Busybox, copied files per OP and I finally got it working after a couple of re-boots (3, i think). It is running smooth so far w/quadrant 1622. GPS seems to be getting locks on SATs quickly but you still can't get to LBSTest via the keypad. Still can't write to the external sd when mounted/shared to PC.
Also tried JAC's work (see this thread: [KERNEL/RECOVERY] Vibrant EXT2/3/4 with init.d support) since it has the nifty feature allowing user to put startup scripts on boot up. I flashed his kernel but i got stuck on the 'Vibrant' boot screen. anyways, will give it another try later.
titovic said:
Also happened to me initially. /sd-ext won't show up or if it does, it doesn't contain the correct folders though it is listed when you run 'mount'. Laggy with Quadrant result at 975.
So, went back and reformatted SD w/Fat32 then EXT3, cleared cache/data, re-flashed Modaco's JP3, installed the latest Busybox, copied files per OP and I finally got it working after a couple of re-boots (3, i think). It is running smooth so far w/quadrant 1622. GPS seems to be getting locks on SATs quickly but you still can't get to LBSTest via the keypad. Still can't write to the external sd when mounted/shared to PC.
Also tried JAC's work (see this thread: [KERNEL/RECOVERY] Vibrant EXT2/3/4 with init.d support) since it has the nifty feature allowing user to put startup scripts on boot up. I flashed his kernel but i got stuck on the 'Vibrant' boot screen. anyways, will give it another try later.
Click to expand...
Click to collapse
Which method do you use for making the ext3? I made my on my hero using Amon RA could that be a problem?
drygmasken said:
Which method do you use for making the ext3? I made my on my hero using Amon RA could that be a problem?
Click to expand...
Click to collapse
I used GParted Live CD as Paragon fails to format my AData card and sorry but I am not familiar with AMON RA.
1646 thanks, very fast!
Sent from my GT-I9000 using XDA App
Would this procedure work for ext4 partitioned SD Card?

[GUIDE][UPDATED with DIAMOND FIX] psfreedom on diamond

Prerequiste
HTC Diamond
XDANDROID 2.2
PS3 3.41
Downloads
PSFREEDOM
Backup Manager (attached below)
Steps
Extract Psfreedom to root of your internal storage. Replace module and zimage file. if the name of new and old module is different just delete the old module
Connect phone in active sync mode with your pc
Run haret.exe
After you see boot animation you can disconnect your phone from pc
open terminal emulator in dev tools in android
run the following command -># Type "su", then "cd /sdcard", then "insmod psfreedom.ko"
make sure your ps3 is turned off( switched oof from the back in FAT model/ power cable is unplugged in SLIM model)
connect your phone to the usb port of your PS3
Turn the back switch on(FAT model) or plug in the power cable for Slim model
press power button and then immediately press eject button
Now in XMB there will be another option to install package files
put the manager.pkg in your fat32 formatted pen drive
Go to install package file and choose manager.pkg
After it is installed remove the pen drive
Insert the game you want to make a backup of.
Open backup manager and select the game and press backup.
After the backup has been made remove the game disk and put any other game disk.
choose the game of which you made backup and press load. it will send you to XMB
Now in front of the CD icon it will be the game you backed-up, not the game of which you inserted the disk.
Just run the game and ENJOY
NOTE: Those who get unknwown usb connected try 5-10 times. if the error continues.Format your internal storage and change your android build to 29.7.10 and and if it still doesnt work flash a new rom ( a fast one) ( dont know why but it worked for me) .
If you get the black screen then come back to XMB while running backup make sure you are removing your pen drive while making a backup. If it still doesnt work you can use the PSfreedom provided by Denial84 http://www.megaupload.com/?d=E2J6E55H
50+ views but no thanks?
Hi arjunking,
Firstly, Thanks!
I suspect a lot of people might be still struggling with this, like I am.
The first issue I have is this:
Step 1 "Extract Psfreedom to root of your internal storage. Replace module and zimage file"
I'm running XDANDROID.2.2.AOSP.29.7.10.RC2.1. Looking at the 'andboot' folder (where I run xdandroid from) the module file has a different name that the module file in the psfreedom package. Therefore, 'replace the module file' doesn't occur.
Does this indicate I'm using the wrong xdandroid version? Will it be a problem?
First of all, thanks for this guide, i answers some questions that most of us have, but not some of the other,
What build of xdandroid is reccomended?
10-80 said:
Hi arjunking,
Firstly, Thanks!
I suspect a lot of people might be still struggling with this, like I am.
The first issue I have is this:
Step 1 "Extract Psfreedom to root of your internal storage. Replace module and zimage file"
I'm running XDANDROID.2.2.AOSP.29.7.10.RC2.1. Looking at the 'andboot' folder (where I run xdandroid from) the module file has a different name that the module file in the psfreedom package. Therefore, 'replace the module file' doesn't occur.
Does this indicate I'm using the wrong xdandroid version? Will it be a problem?
Click to expand...
Click to collapse
Same thing I hate this!!!!!!!!!!!!!!!!
After the second boot of XDANDROID I can't boot, I get the error of not being able to find rootfs.img
I dont bother with the andboot folder?
this is all really hard,
I need
HELP!
10-80 said:
Hi arjunking,
Firstly, Thanks!
I suspect a lot of people might be still struggling with this, like I am.
The first issue I have is this:
Step 1 "Extract Psfreedom to root of your internal storage. Replace module and zimage file"
I'm running XDANDROID.2.2.AOSP.29.7.10.RC2.1. Looking at the 'andboot' folder (where I run xdandroid from) the module file has a different name that the module file in the psfreedom package. Therefore, 'replace the module file' doesn't occur.
Does this indicate I'm using the wrong xdandroid version? Will it be a problem?
Click to expand...
Click to collapse
Just put both files in internal storage, it works for me
thanks.
I have htc diam500.
I didn't use those crappy "andboot" folders.
I did EVERYTHING from the root. I also tried like 3 different versions of the psfreedom.ko file(one with bmdv* support) and some other one.
So I think it comes down to having the right psfreedom file and LUCK.
Also once you install the emulator(the thing you do after installing Xandroid) if you get a # and blank line than you've done it right. After that just plug it up to your ps3 when it's completly off.
noob_2010 said:
thanks.
I have htc diam500.
I didn't use those crappy "andboot" folders.
I did EVERYTHING from the root. I also tried like 3 different versions of the psfreedom.ko file(one with bmdv* support) and some other one.
So I think it comes down to having the right psfreedom file and LUCK.
Also once you install the emulator(the thing you do after installing Xandroid) if you get a # and blank line than you've done it right. After that just plug it up to your ps3 when it's completly off.
Click to expand...
Click to collapse
thanks for the help, but i still can't work out what i have done wrong!
this is so annoying, anyway, im sure i will work something out.
thanks
tom
OK, I'm almost there.
I should've tried it before I posted because apparently it doesn't matter if the modules file in the psfreedom package has a different name to the one in the xdandroid folder. I just deleted the original 'modules-2.6.27.46-01130-g0ac6681.tar' and copied over the one from the psfreedom package 'modules-2.6.27.46-01162-g741ab49-dirty.tar'
I've got to the point of starting my first backup.
This brings me to my next question:
1. When using the backup manager there is no option to backup to an external hard disk.
So how do I either:
a) backup to external hdd, or
b) move my backups from the internal hdd to an external hdd when they're done?
Update: OK, now that I've got a Fat32 formatted external hdd connected the 'backup manager' prompts me to backup to external hard disk
10-80 said:
OK, I'm almost there.
I should've tried it before I posted because apparently it doesn't matter if the modules file in the psfreedom package has a different name to the one in the xdandroid folder. I just deleted the original 'modules-2.6.27.46-01130-g0ac6681.tar' and copied over the one from the psfreedom package 'modules-2.6.27.46-01162-g741ab49-dirty.tar'
I've got to the point of starting my first backup.
This brings me to my next question:
1. When using the backup manager there is no option to backup to an external hard disk.
So how do I either:
a) backup to external hdd, or
b) move my backups from the internal hdd to an external hdd when they're done?
Click to expand...
Click to collapse
ok, so i did that right, what build of android are you using?
ummm I'm not sure on that. You would prob. have to google that. or just save it to your internal drive on the ps3 and when it's done see if they would let you do it is the only way I know.
tomascivinod said:
ok, so i did that right, what build of android are you using?
Click to expand...
Click to collapse
XDANDROID.2.2.AOSP.29.7.10.RC2.1
Also, if you run xdandroid from a location other than the root of internal storage, you need to make a corresponding change to step 6. In my case:
"cd /sdcard" becomes "cd /sdcard/andboot"
thanks for this...... working 100% with diam100 and ps3 with 3.41 firmware....
i have some problem with my diamond.
Yesterday the exploit didn't work for all day,this morning worked,and now doesn'work again.I hope in a new release.
10-80 said:
Hi arjunking,
Firstly, Thanks!
I suspect a lot of people might be still struggling with this, like I am.
The first issue I have is this:
Step 1 "Extract Psfreedom to root of your internal storage. Replace module and zimage file"
I'm running XDANDROID.2.2.AOSP.29.7.10.RC2.1. Looking at the 'andboot' folder (where I run xdandroid from) the module file has a different name that the module file in the psfreedom package. Therefore, 'replace the module file' doesn't occur.
Does this indicate I'm using the wrong xdandroid version? Will it be a problem?
Click to expand...
Click to collapse
Delete the old module already present. and let there just be the new one which is in in psfreedom. dont rename it
tomascivinod said:
First of all, thanks for this guide, i answers some questions that most of us have, but not some of the other,
What build of xdandroid is reccomended?
Same thing I hate this!!!!!!!!!!!!!!!!
After the second boot of XDANDROID I can't boot, I get the error of not being able to find rootfs.img
I dont bother with the andboot folder?
this is all really hard,
I need
HELP!
Click to expand...
Click to collapse
just download the android build 29.7.10 and extract it into root of your internal storage. not in any folder.
delete the module already present there and extract the new one from the psfreedom file.
Is there any way to run a script automatically on terminal start up that would basically run the 3 commands
su
cd sdcard
insmod psfreedom.ko
???
just being lazy really..!!LOL
edit.....
gscript lite works great and can place a shortcut on my desktop for running the script!!!
HaRET freezes after the vibrate.
Hello everyone,
I'm facing a problem that sometimes goes away. When i start HaRET, it freezes after it vibrates. What could be the problem? I'm using a HTC Touch Pro(not a diamond)
I Hope that someone has a solution for this problem.
that maybe cause of the android you are using. try reinstalling android using a new or different build. try the one in first post.
arjunking said:
that maybe cause of the android you are using. try reinstalling android using a new or different build. try the one in first post.
Click to expand...
Click to collapse
Formatted a 128mb micro sd card(i know it needs to be more for datastore), copied the files to the root of the card and run it. It looked like it was fixed, but it frozen after doing some things to load up android.
you need atleast 300mb of space for proper functioning of android.
it will kinda extract the sy.ext2 file which is of 90 mb so it takes all your space.

[GUIDE] Persistent Temp Root for G2 to SD Card

Problem: Changes to the system partition are lost when Linux flushes the disk cache: http://pastebin.com/cm75Z9UA
These instructions are a workaround to provide temp root like normal plus persistence because /system /data and /cache are partitions on your SD card. This lets you reboot and even factory reset, while being able to easily restore your settings and such by re-rooting and mounting your SD card partitions back over the internal partitions.
Prerequisites:
SD card partitioned with four partitions:
6GB as fat (for your data, can be bigger or small depending on your card size)
400MB ext3 for /system
1.3GB ext3 for /data
200MB ext3 for /cache
On the phone, enable "USB debugging" in Menu -> Settings -> Applications -> Development
On a PC with the Android SDK tools (adb) installed and working:
adb push Superuser.apk /data/local
adb push busybox /data/local
adb push rage /data/local
adb push resume /data/local
adb push root /data/local
adb push rsync /data/local
adb push setup /data/local
adb push su /data/local
adb install Term.apk
adb shell chmod 755 /data/local/busybox /data/local/rage /data/local/setup /data/local/resume /data/local/rsync /data/local/root
On the phone, open "Terminal Emulator" and type:
/data/local/rage
Wait for it to say "[+] Forked NNNN childs." then press the back button.
Open "Terminal Emulator" again and it should force close.
Open it one more time and the prompt should display "#". Then type:
/data/local/root
/data/local/setup
You may need to re-root after it reloads the GUI, but then it will stick. setup is a script that mounts your SD card partitions and copies the existing. It should only be run once unless you want to erase what you have there previously. This step wont work if you SD card is not partitioned properly.
On future power-ons, run this after temp-root instead of setup:
/data/local/resume
and you should get your Android back how it was.
is it suppose to scan through all apps on phone then reboot
Thanks muchly, I'll try this when my G2 arrives.
I have a question about this method. It looks to me that what setup does is copy the entire system, data, and cache to the SD card. Then, when you run resume, it uses rsync to bring the main system (in the onboard flash) up to date from the SDcard version, and then any changes, even if not actually written to the main system partition due to the HTC copy protection, get written to the sdcard copy of the system. Very clever (if I'm reading this write, otherwise, still clever, but me not so clever as I mis-understood).
The question is this: Are there any glitches or instabilities generated by suddenly changing the system files after the OS is already booted? Do I have to make sure to do this before I begin using my phone after boot or risk making changes that I will then loose when I run resume?
Thanks again for the work putting this together!
Sheep
Sheep, you understand almost completely. Setup does copy the existing data from the internal phone memory to the SD card. However, it then (like resume) doesn't copy anything back, it just mounts the system, data, and cache partitions from the SD card on top of the internal ones.
I had issues with the internal memory reverting back after I make changes to it. It seemed to happen over a short time, or was triggered by things like mounting the SD card to a computer.
I've been using this for about 24 hours with no problems. I've done a couple fresh boots and ran resume. But I didn't test the instructions from scratch, so if anyone tests and finds a problem, let me know!
Any performance hit because of running from SD?
I haven't really noticed any.
How does this impact battery life?
Sent from my T-Mobile G2 using XDA App
Can't say, I've had my phone hooked up most of the time through adb looking for root. Just did this for fun and because I was sick of re-rooting all the time.
looks interesting I'll try it out tomorrow
Sent from my T-Mobile G2
so your sd card has to be partitioned pryor to trying this
pre-partitioned card?
thatruth132 said:
so your sd card has to be partitioned pryor to trying this
Click to expand...
Click to collapse
yes it does
texasaggie1 said:
yes it does
Click to expand...
Click to collapse
and how do i do this on a non-rooted device
thatruth132 said:
and how do i do this on a non-rooted device
Click to expand...
Click to collapse
Use your G1 to partition the card.
Brad
You can also connect your phone to a Linux computer (a LiveCD would be fine) and use gparted or fdisk. Don't forget to backup the contents of your card first!
Pretty cool. But I think I'm gonna wait for a more permanent solution....
sheek360 said:
Pretty cool. But I think I'm gonna wait for a more permanent solution....
Click to expand...
Click to collapse
There are no roms available yet any ways, so to a non dev, non cook like me, the Root is pretty much useless
I'd read that the currently available root was good until a reboot, then I saw this thread that made rerooting after a reboot much easier. Since then I've seen some posts that seem to indicate that a root may spontaneously disappear even without rebooting. Is this the case, some permissions may be lost even if you don't reboot?
I was ready to pull the trigger on this permanent-temporary root until I read that. I'd like to be able to import my old wpa_supplicant.conf file and get my corp ipsec vpn working. I'd also like to be able to get wifi-tether working (although I rarely use it), but if root won't stay 100% until a reboot, then I'm not going to bother.
Dalamak said:
There are no roms available yet any ways, so to a non dev, non cook like me, the Root is pretty much useless
Click to expand...
Click to collapse
Not true. I'm not a dev or a cook, but there are things that you can make the phone do with root besides adding a theme or ROM.
wifi tether
ipsec vpn
backups
etc...
smasraum said:
I'd read that the currently available root was good until a reboot, then I saw this thread that made rerooting after a reboot much easier. Since then I've seen some posts that seem to indicate that a root may spontaneously disappear even without rebooting. Is this the case, some permissions may be lost even if you don't reboot?
I was ready to pull the trigger on this permanent-temporary root until I read that. I'd like to be able to import my old wpa_supplicant.conf file and get my corp ipsec vpn working. I'd also like to be able to get wifi-tether working (although I rarely use it), but if root won't stay 100% until a reboot, then I'm not going to bother.
Click to expand...
Click to collapse
With temp root on the internal system partition, writes would revert back after certain things (after mounting the sd card to a computer through the phone and disconnecting it, I'd always loose root). When running /system from an sd card, no writes can be reverted because none are made, so I've never had to re-root.
how to partition an SD card?
thatruth132 said:
and how do i do this on a non-rooted device
Click to expand...
Click to collapse
I used gparted in ubuntu to do mine. Like SAINTH said, the install disk for ubuntu is also a livecd so you dont even have to install ubuntu if u dont want to

[Help] Problem Rooting using the No-PC Method

Hey Guys,
Before I ramble on about my problems, I would like to thank all the amazing devs that work night an day to make our phones awesome. I have been reading these forums for a couple of weeks and have seen how helpful everyone in these forums are to us noobs.
I'm not new to Rooting (Rooted my G1 a while back and Jailbroke a 1st Gen iPhone way way back lol), but this is my first time Rooting my 3G Slide, which I have had since they were first launched.
I am attempting the No-PC Method described here: http://forum.xda-developers.com/showthread.php?t=896148
I have been trying since last night with no success. I have followed the process step by step, to the T, and continue to encounter the same error every time I try.
I succesfully flash the ESPRIMG.zip and then go to Recovery to apply the "update.zip" file so I can go into Clockwork Recovery, however instead of going into Clockwork Recovery it just gives me the following error:
E:failed to verify whole-file signature
I have searched the forums and none of the responses and solutions have been helpful as almost all of them are users who have already flashed a ROM on their phones as opposed to the Stock one, and a lot of them seem to be prior to this new AndRoot method.
Also, I am using this method as I do not have a USB cable for my phone or a PC for that matter, and havent really researched any Mac mathods of Flashing a Custom ROM to the phone.
Any help would be mucho appreciated!
i think you have to have the update.zip file in the root of your sd card
I reformatted the SD Card and only placed the necessary files in the root of the card. There is nothing else in the card at the moment except for the update.zip file, ROM, gapps, and radio updates. I have no idea why i keep ketting this error, from all the research I've done, this should be working, but clearly there is something I'm doing wrong :-/
yixmal said:
I reformatted the SD Card and only placed the necessary files in the root of the card. There is nothing else in the card at the moment except for the update.zip file, ROM, gapps, and radio updates. I have no idea why i keep ketting this error, from all the research I've done, this should be working, but clearly there is something I'm doing wrong :-/
Click to expand...
Click to collapse
yeah, that's not good if that's all you have there. i was working with someone over at the tmobile forums who was getting the same error (http://forums.t-mobile.com/t5/myTouch-3G-Slide/Easy-root-unroot-Froyo-for-all/td-p/649239/page/6) and it turned out they had the downloaded files in a different folder, and moving them to the root made it work... you may want to try using the files you need from this link instead: http://richard.gluga.com/2010/08/complete-guide-to-rooting-and-hacking.html
I'm a newbie to the whole programming side of computers, familar with using one though. I am going through the steps of the no pc rooting, and I read through step 6 and I thought it was confusing it says...
Install And Run Root Explorer then Copy and paste flash_img and mtd0.img to /data/local on android device multi-select copy then rm r/w in program in upper left on data local folder. I am confused with the rm r/w section there, I haven't gone through the steps, just want to have a general idea before I get in there and screw something up.
Yeah, that ones a lil tricky apparently. Root explorer can be found in the market for ~$4, but if you click the link for the tmobile forum, we found that another app (free) works just as good.
I managed to make it work last night. I'm pretty sure I kept downloading the incorrect ESPRIMG.zip file from several sites. I think I was getting the original stock ROM as opposed to the Engineering Build.
Anyways, mine's working now.
As for the step 6 on the instructions. It basically means that after you paste the files you need to go back to the android system (the folder where you can see everything thats on the android) and at the very top of the window you will see a button that says "R/W" next to something like "Mount as R/O". You just need to hit that button so you can write to the folders, then go back to /data/local and long press "Image_flasher" click on permissions and make sure everything is checked, then repeat on "mtd0.img" file.
I know its a long explanation for such a small step but I try to be as detailed as i can. Hope it helped.
Get
update.zip
Put iton ur SD card
and a ROM.zip that you like n the SD card as well..
see if that works
yixmal said:
I managed to make it work last night. I'm pretty sure I kept downloading the incorrect ESPRIMG.zip file from several sites. I think I was getting the original stock ROM as opposed to the Engineering Build.
Click to expand...
Click to collapse
^ This
I just went through the same thing - I had restored my phone back to stock and then went to re-root it. I have 2 copies of ESPRIMG, file sizes as follows:
The one that was giving me problems: 145,045,641 bytes
The one that ended up working: 143,701,302 bytes
Once I used the slightly smaller ESPRIMG the process worked perfectly. When using the other one I was getting the same error as the OP.

Categories

Resources