Haykuro 4.5 APPS on SD (How To) Read before asking questions. - G1 Android Development

I have made some modifications and moved this information to my wiki. It is easier to edit, and the good thing is other users can edit it on a wiki unlike here in a forum post. Please check it out at Droidwiki.com

while flashing busybox, i got error, "no signature" can i just put it in the auto signer?

great info

stogchris81 said:
while flashing busybox, i got error, "no signature" can i just put it in the auto signer?
Click to expand...
Click to collapse
I am sorry, but it is people like you who make others not want to help and get rude about stuff. I did NOT ONCE say to flash busybox. If you would read instead of typing, you might see that.

wow. sorry i pissed you off so bad. i miss understood this...
First you need to format your card (No I will not tell you how to do that part) and make sure that the fat partition is FIRST******.
Second, download busybox.zip, unzip the zip file, and place the busybox file in your /sdcard.
Third, flash the rom (dont ask which or how, if you are here, you should know this stuff by now)
Fourth, run "adb remount" (on your desktop), then "adb shell" and then the following commands (to setup busybox): step three says flash the rom right after step 2 says place busybox on sd card. there is no other mention of a rom in your tut so i took that to mean that busybox was a rom. also..."If this does not work, try to give some info as to why, and if I find an error I will update it." this is what you ask people to do and this is what i did.

now, can i ask you a question about a problem i ran into after reading your updated instructions?
nm. i got it. i just needed to unplug the usb, then replug it in without mounting to windows in phone. thank you for the updated tut. i hope we can move on knowing it was a misunderstanding.

good job on this.
:]]

Good instructions.
Alternatively:
Open up the terminal emulator and type:
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# dd if=/sdcard/busybox of=/system/xbin/busybox
# chmod 4755 /system/xbin/busybox

stogchris81 said:
now, can i ask you a question about a problem i ran into after reading your updated instructions?
nm. i got it. i just needed to unplug the usb, then replug it in without mounting to windows in phone. thank you for the updated tut. i hope we can move on knowing it was a misunderstanding.
Click to expand...
Click to collapse
Sure, ask your problem instead of wasting a post spot by asking to ask. You guys do not understand but there are 1900 posts in the other thread because a) ppl dont read and ask stupid questions and b) those stupid questions make it to long for others to read, so they dont read and ask stupid questions. Catch22.

Very well done sir, thank you for this

does it matter what type of partion we create? it says like NTFS, FAT32, FAT16

your sdcard should already be formatted to fat32. 2nd partition needs to be ext2.

?????????
sorry for this question please dont yell...
On my CMD I got this error......
C:\Users\Jesus>cd desktop
C:\Users\Jesus\Desktop>cd sdk
C:\Users\Jesus\Desktop\sdk>cd tools
C:\Users\Jesus\Desktop\sdk\tools>adb remount
remount succeeded
C:\Users\Jesus\Desktop\sdk\tools>adb shell
# dd if=/sdcard/busybox of=/system/xbin/busybox
dd if=/sdcard/busybox of=/system/xbin/busybox
/sdcard/busybox: cannot open for read: No such file or directory
can someone please help me without any yelling
Thank You Haykuro & Darkrift

jgu71424 said:
sorry for this question please dont yell...
On my CMD I got this error......
Click to expand...
Click to collapse
You're running 4.9 aren't you.

TheDudeOfLife said:
You're running 4.9 aren't you.
Click to expand...
Click to collapse
no 4.5
what should i do?
is this the same thing....
Good instructions.
Alternatively:
Open up the terminal emulator and type:
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# dd if=/sdcard/busybox of=/system/xbin/busybox
# chmod 4755 /system/xbin/busybox

OH
Oh i see why TheDudeOfLife asked me that question about 4.9, its because i ask about the end call thing.
No I got 4.5 it is much more stable...
Still need help though
Thanks

jgu71424 said:
no 4.5
what should i do?
is this the same thing....
Good instructions.
Alternatively:
Open up the terminal emulator and type:
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# dd if=/sdcard/busybox of=/system/xbin/busybox
# chmod 4755 /system/xbin/busybox
Click to expand...
Click to collapse
Did you copy the busybox (unzipped) to the sdcard first?

TheDudeOfLife said:
Did you copy the busybox (unzipped) to the sdcard first?
Click to expand...
Click to collapse
yup followed the instructions i just cant get pass that error.
I am running Vista business 32-bit

jgu71424 said:
C:\Users\Jesus\Desktop\sdk\tools>adb shell
# dd if=/sdcard/busybox of=/system/xbin/busybox
dd if=/sdcard/busybox of=/system/xbin/busybox
/sdcard/busybox: cannot open for read: No such file or directory
can someone please help me without any yelling
Thank You Haykuro & Darkrift
Click to expand...
Click to collapse
You need to disconnect your phone from computer.

excellent. worked without an issue.
thanks man!

Related

Read-Only Filesystem?

Hello, all!
I'm trying edit a file in /etc/ and adb says 'Failed to copy: Read-only filesystem'
Now, is this actually true? Or is this simply a permissions issue? I'm doing this on a non-rooted phone, so I can't 'touch' anything without permission errors, but is it a futile task if the filesystem is read only anyway?
I'm trying to do this from a non-rooted environment as I had intended on making this into an application, but I imagine that if I can't touch or push these files from an adb shell then I won't be able to from the application space either.
It's frustrating not to be able to edit the filesystem of my own phone, I'll be rooting if this is just a permissions problem and not an issue of a non-writable filesystem. Perhaps I could still make an application for rooted-only phones.. hrm..
Any thoughts on this?
/etc is an alias for /system/etc, and /system is a partition mounted as ro (you can confirm this yourself by running mount)
Ah, bugger. So this is hopeless (without modifying and then reflashing)?
Thanks very much.
you need to mount it read write,
mount -oremount,rw /dev/block/mtdblock3 /system
then it will be read/write
try adb remount. if it failes you need root sorry.
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
nvm I figured it out. i just put it on system and then just type sh debian.sh on the terminal and it works
Rafase282 said:
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
Click to expand...
Click to collapse
what is the error message? saying it dont work doesnt provide enough info for us to help....
it says sh: cant open aw.sh
so i still have to put the path or cd to where the file is. Is there a way to make /system my home?
no you cant make system your home, system is system, home is home. you can make a symlink if you are familiar with linux - might want to read up about shell commands
korndub said:
you need to mount it read write,
mount -oremount,rw /dev/block/mtdblock3 /system
then it will be read/write
Click to expand...
Click to collapse
Thanks it really worked!! for me i had the same problem as the other guy.
Rafase282 said:
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
nvm I figured it out. i just put it on system and then just type sh debian.sh on the terminal and it works
Click to expand...
Click to collapse
You *CAN'T* modify the / filesystem. It is part of your BOOT partition, which CANNOT be remounted rw. You would have to read, modify, and write the boot partition.
Rafase282 said:
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
nvm I figured it out. i just put it on system and then just type sh debian.sh on the terminal and it works
Click to expand...
Click to collapse
Maybe you're typing it in too literally. It should actually read like this:
mount -o remount,rw /dev/block/mtdblock3 /system
There was a typo with -oremount, there should be a space after -o.
Hope that helps.
PS. That command worked for me on a device where everything else failed.
dhkr123 said:
You *CAN'T* modify the / filesystem. It is part of your BOOT partition, which CANNOT be remounted rw. You would have to read, modify, and write the boot partition.
Click to expand...
Click to collapse
actually, / can be mounted rw, but changes are lost on reboot
new user
Firerat said:
actually, / can be mounted rw, but changes are lost on reboot
Click to expand...
Click to collapse
Hi I have my Asus Prime rooted and installed a virtuous Rom and I tried to put a fonts on the System/ fonts folder using root explorer using a instructions to fix some error on some games that need that tis fonts exist on the tablet but it said it cant because file system is read only I'm new and I don't know how to do this commands any help on how to do in a easy (explained) form.
egalpr said:
Hi I have my Asus Prime rooted and installed a virtuous Rom and I tried to put a fonts on the System/ fonts folder using root explorer using a instructions to fix some error on some games that need that tis fonts exist on the tablet but it said it cant because file system is read only I'm new and I don't know how to do this commands any help on how to do in a easy (explained) form.
Click to expand...
Click to collapse
I would recommended not posting in the g1 section. The Asus forums would be a lot more helpful.
egalpr said:
Hi I have my Asus Prime rooted and installed a virtuous Rom and I tried to put a fonts on the System/ fonts folder using root explorer using a instructions to fix some error on some games that need that tis fonts exist on the tablet but it said it cant because file system is read only I'm new and I don't know how to do this commands any help on how to do in a easy (explained) form.
Click to expand...
Click to collapse
Download EStrong File Manager and within the settings of it, enable mounting of the system as read/write.
Or, download Terminal Emulator and type this in:
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
Or, try typing this in terminal/cmd:
Code:
adb remount
Or, if you plan on doing it all from recovery you could do:
Code:
adb shell "mount system"
and then you could do it all from there.
Next time, please post in the proper forum.
Read-Only /system... i just deleted the file, tich push should update/replace and then it worked... only had this bug when i was trying to modify Trebuchet.apk (homescreen)
Hi guys
Not being a linux expert, i'm stuck with the following problem..
i'm using a program who uses low level adb commands to write on the phone extSdCard...
problem: this extSdcard is seen as a readonly filesystem.
What has to be done to make this FS RW instaed of RO ?
This does not happen under windows where I can write to the extSd without problems
thks in advance for the tip

Few EXt2 questions

Is it possible to veiw the files in the EXt2 partition from our G1 terminal? If so, can we also delete files? If so, someone explain how, thanks.
asuming is mounted on /system/sd
just
cd /system/sd
ls -la /system/sd
to list the files
is their a way to erase those files
There are commands for deleting files on Android. Look up the Linux Command prompt commands for performing those functions.
If you've rooted your phone and don't know the commands already, you haven't been paying attention to the instructions.
ls = directory listing
cp = copy
mv = move/rename
rm = remove
Those are the very basics. Remember that Unix-like operating systems are case-sensitive and file.txt is different from File.txt or file.TXT.
If you're using wildcards to delete everything, take a precaution and use the dot-slash. It could save you a lot of trouble by ensuring you're only deleting files in the current working directory. To remove all text files in a directory, for example, you'd type rm ./*.txt
god, i hate how rude people are. I grew up with DOS, so dir, and del come more naturally to me than linux commands. So just ease up on the ppl that don't know linux. I didn't know linux til i started to IRC and wanted to run an eggdrop bot. Not like everyone has irc'd or compiled, or whatever. Heck, it has been so long now, I could not write an irc script or egg addon, and I think i was the first to develop some scripts in IRC 20 years ago. So all I can say is chill.
Shaggy
??huh??
whats the beef all about?
you can google the command and linux and probably have a ton of sites that list and explain the usage and stuff like that for *nix commands unix is a very old OS linus torvalds just woke up 1 day at age 15 or sumthin and said im gonna make a unix kernal that runs on my intel based pc and then instead of selling it and making a fortune I'll give it away and still make a fortune.
LINUS is the greatest man of our time, when the other OS was charging BIG $ to run Apache web servers in the .com boom (even more so now) linux was FREE and gave better throughput on the same hardware
Now if you want a pretty box booklet and packaging as you have become accustomed they have them to, some just feel better if they pay for it, free must not be as good as the one that costs right?
why did I bother just rambling, please ignore the babbling lunatic in the corner he is harmless
bhang
beartard said:
If you've rooted your phone and don't know the commands already, you haven't been paying attention to the instructions.
ls = directory listing
cp = copy
mv = move/rename
rm = remove
Those are the very basics. Remember that Unix-like operating systems are case-sensitive and file.txt is different from File.txt or file.TXT.
If you're using wildcards to delete everything, take a precaution and use the dot-slash. It could save you a lot of trouble by ensuring you're only deleting files in the current working directory. To remove all text files in a directory, for example, you'd type rm ./*.txt
Click to expand...
Click to collapse
if you dontknow how to be polite to the noobz then dont say anything at all. let someone else answer their questions.
Hi Beartard,
Thanks for the info.
This site has such a wealth of information, that it can be overwhelming to many members.
Can you tell me how to copy my apps-private from my ext2 partition to my sd card partition so I can back them up?
Thanks
beartard said:
If you've rooted your phone and don't know the commands already, you haven't been paying attention to the instructions.
ls = directory listing
cp = copy
mv = move/rename
rm = remove
Those are the very basics. Remember that Unix-like operating systems are case-sensitive and file.txt is different from File.txt or file.TXT.
If you're using wildcards to delete everything, take a precaution and use the dot-slash. It could save you a lot of trouble by ensuring you're only deleting files in the current working directory. To remove all text files in a directory, for example, you'd type rm ./*.txt
Click to expand...
Click to collapse
uh you wan't to copy your "app-private" folder as a backup in to yoru sdcard correct? well try this
busybox cp -a /system/sd/app-private /sdcard/app-private
if it don't allows you to copy do this command to re mount the system as read-write
mount -oremount,rw /dev/block/mtdblock3 /system
Hi Nitro .
I tried it both ways and it says operation not permitted.
-------------------
Update:
But wait, I connected my phone to the computer and the app-private is copied to the sdcard.
Your procedure worked!
I erased the folder that was copied to test it again.
Then I used just this set of commands and it worked again:
busybox cp -a /system/sd/app-private /sdcard/app-private
So you still get the same error, but it works.
Thanks alot Nitro!!!
Nitro212 said:
uh you wan't to copy your "app-private" folder as a backup in to yoru sdcard correct? well try this
busybox cp -a /system/sd/app-private /sdcard/app-private
if it don't allows you to copy do this command to re mount the system as read-write
mount -oremount,rw /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
u tried it as root? what error u got?
well glad it worked.
Hi,
The error says:
"cannot preserve ownership of ... cannot preserve permissions of ... operation not permitted"
for every file it tries to transfer.
But then when you look in your sdcard the app-private is there.
So it is a false error.
Thanks again.
Nitro212 said:
uh you wan't to copy your "app-private" folder as a backup in to yoru sdcard correct? well try this
busybox cp -a /system/sd/app-private /sdcard/app-private
if it don't allows you to copy do this command to re mount the system as read-write
mount -oremount,rw /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
It's not working for me...
My error is this:
cp: cannot stat '/system/sd/app-private': No such file or directory
Hi,
Use terminal emulator jf 1.41 or better
type su enter
then the busybox commands
Connect your phone to your computer and look on your memory card.
app-private is there
Proxin said:
It's not working for me...
My error is this:
cp: cannot stat '/system/sd/app-private': No such file or directory
Click to expand...
Click to collapse
bestwebs said:
Hi,
Use terminal emulator jf 1.41 or better
type su enter
then the busybox commands
Connect your phone to your computer and look on your memory card.
app-private is there
Click to expand...
Click to collapse
hey guys need some help here i have the same problem, (as far as the error saying 'no such file or dir') and i tried your suggestion about typing su first then the busybox commands.
i have the most current terminal emulator, unfortunately i still continue to get the same error every time i try to run the busybox commands. it just simply say 'no such file or directory"
you guys have any suggestions for me to try ?
any help would be great.
the error i get is "cannot preserve permissions of" i think that error is not something harmful im n o *nix expert but is just saying it wont save the permision of that folder i think...
Code:
# mkdir /sdcard/bk
mkdir /sdcard/bk
# busybox cp -rf /data/app-private/ /sdcard/bk
busybox cp -rf /data/app-private/ /sdcard/bk
cp: cannot preserve permissions of '/sdcard/bk/app-private': Operation not permi
tted
# ls /sdcard/bk
ls /sdcard/bk
app-private
thats what i did.. worked for me.. moved the app-private in to a folder named bk inside the sdcard
Hi,
We are assuming that you have already moved your apps and caches to the memory in a ext2 partition, correct?
Otherwise this will not work.
I 1st followed all the instructions in this post:
http://forum.xda-developers.com/showthread.php?t=468959
All this has to be done 1st including the 2 step 13's
onikus said:
hey guys need some help here i have the same problem, (as far as the error saying 'no such file or dir') and i tried your suggestion about typing su first then the busybox commands.
i have the most current terminal emulator, unfortunately i still continue to get the same error every time i try to run the busybox commands. it just simply say 'no such file or directory"
you guys have any suggestions for me to try ?
any help would be great.
Click to expand...
Click to collapse
nitro all i can say is thank you very much, i was looking through a 15 yr old unix book looking up commands, and it's just been so damn long ago i couldn't put it together.
thanks a ton. i'm sure you saved me at least a few hours.
@bestwebs ya i have done everything else including moving things to the ext2 partition i was just stuck on a few comands here and there.
but again thanks to both of you, and i'm all setup up now.
Hi,
Nitro is a real blast!
Glad it's working.

[GUIDE] How to Flash a ROM WITHOUT an SD Card

How to Flash a ROM Without an SD Card
​
This is for all those who don't have a working sdcard, sdcard slot, etc. but want still to flash a new rom
Prerequisites:
Flash an Amon_RA recovery if you're using Clockwork - I recommend Darch's unofficial (CDMA Hero refer to my signature if you need it)
Access to a computer that had AndroidSDK tools on it - you'll be using ADB
Put whichever ROM.zip you want to flash in your android-sdk\tools folder - I would rename it to something simple. (My example which I'll be using for this tut is: C:\AndroidSDK\toosl\ROM.zip)
Directions:
Reboot into the Amon_RA recovery
Wipe data/factory reset, cache, and dalvik via the recovery menu
Open up cmd/terminal on your computer
Navigate to your android-sdk\tools directory
Enter the following in cmd/terminal:
Code:
adb shell
mount data
*wait a second or two* You may or may not get the "/ #" line returned.
Despite what happens press "Ctrl+C" to break the command and get back to the standard AndroidSDK\tools> directory
Enter the following in cmd/terminal:
(replace "ROM.zip" with the name you're using)
Code:
adb push ./ROM.zip /data/
*this will take anywhere from 30sec to a min depending on the rom.zip size*
Then we do this in cmd:
Code:
adb shell
recovery --update_package=DATA:ROM.zip
Wait for it to finish flashing/updating
Reboot
ENJOY
Brief rundown of what we just did:
Wiped /data/ to free up space for the zip
Put our ROM.zip onto the /data/ partition since we don't have an SD Card to work with.
Told the recovery to flash from our /data/ partition instead of /sdcard/
I did some digging around the AmonRA github to look for the commands it actually performs while in recovery I figured out exactly how to do what I wanted.
(namely THIS PAGE for those of you who are interested in seeing the exact page I found them on)
Good knowledge man. Thanks for the guide
Root-Hack-Mod-Always™
I got excited when i read the title having lost my sdcard, unfortunately my lap top in Frys customers service n i never went back for it, bs they said it was water damage lol idiots are wrong so my guarantee didnt cover it,anyways i think most of us knew this method, thnkz anyways........WHAT I WANT TO KNOW IS HOW OR IF POSSIBLE TO CHANGE THE PATH TO THE STOCK BROWSER DOWNLOADS TO INTERNAL STORAGE????????????? PLS IF ANY1 KNOWZ LET ME KNOW
gotablunt said:
I got excited when i read the title having lost my sdcard, unfortunately my lap top in Frys customers service n i never went back for it, bs they said it was water damage lol idiots are wrong so my guarantee didnt cover it,anyways i think most of us knew this method, thnkz anyways........WHAT I WANT TO KNOW IS HOW OR IF POSSIBLE TO CHANGE THE PATH TO THE STOCK BROWSER DOWNLOADS TO INTERNAL STORAGE????????????? PLS IF ANY1 KNOWZ LET ME KNOW
Click to expand...
Click to collapse
/sigh. I'd try to help if I knew what this post was even about. All I got was something about a laptop at Frys.
Anyway, nice post OP.
gotablunt said:
I got excited when i read the title having lost my sdcard, unfortunately my lap top in Frys customers service n i never went back for it, bs they said it was water damage lol idiots are wrong so my guarantee didnt cover it,anyways i think most of us knew this method, thnkz anyways........WHAT I WANT TO KNOW IS HOW OR IF POSSIBLE TO CHANGE THE PATH TO THE STOCK BROWSER DOWNLOADS TO INTERNAL STORAGE????????????? PLS IF ANY1 KNOWZ LET ME KNOW
Click to expand...
Click to collapse
Fail. Put the blunt DOWN.
+1 OP
You first mentioned
kyouko said:
My example which I'll be using for this tut is: C:\AndroidSDK\toosl\kyoukoROM.zip
...
Code:
adb push ./kyoukoROM.zip /data/
Click to expand...
Click to collapse
But later, you use this:
Code:
adb shell
recovery --update_package=DATA:mau5.zip
Click to expand...
Click to collapse
I am confused on whether we use 'mau5.zip' as it is in the final command or change it to the name of our rom, which would be kyoukoROM.zip in your case?
HQRaja said:
You first mentioned
But later, you use this:
I am confused on whether we use 'mau5.zip' as it is in the final command or change it to the name of our rom, which would be kyoukoROM.zip in your case?
Click to expand...
Click to collapse
It would be the name of the file you are trying to flash.
How do you flash the recovery without an SD card tho?
EDIT: I figured it out. I will post my steps later.
Here is what I did:
Rooted phone
Attempted to push Flash_image - failed due to filesystem permissions
Steps for Flash_Image:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system/bin
chmod 777 /system/bin
exit/ctrl+c
adb shell
adb push flash_image.zip /system/bin/flash_image
adb shell chmod 0755 /system/bin/flash_image
Flashing Recovery:
adb push Recovery.img /system/bin/
adb shell
flash_image recovery /system/bin/Recovery.img
rm /system/bin/Recovery.img
reboot recovery
Then proceeded to follow the steps in this guide successfully
Stuke00 said:
Here is what I did:
Rooted phone
Attempted to push Flash_image - failed due to filesystem permissions
Steps for Flash_Image:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system/bin
chmod 777 /system/bin
exit/ctrl+c
adb shell
adb push flash_image.zip /system/bin/flash_image
adb shell chmod 0755 /system/bin/flash_image
Flashing Recovery:
adb push Recovery.img /system/bin/
adb shell
flash_image recovery /system/bin/Recovery.img
rm /system/bin/Recovery.img
reboot recovery
Then proceeded to follow the steps in this guide successfully
Click to expand...
Click to collapse
tip: use 'adb remount' instead of the manual mount commands. Do that before you adb shell. Just saves a bit of typing.
good work!
HQRaja said:
in the final command or change it to the name of our rom, which would be kyoukoROM.zip in your case?
Click to expand...
Click to collapse
I changed the OP to make it more consistent.
But see the quote below
sirmx said:
It would be the name of the file you are trying to flash.
Click to expand...
Click to collapse
Stuke00 said:
How do you flash the recovery without an SD card tho?
EDIT: I figured it out. I will post my steps later.
Click to expand...
Click to collapse
Good to hear you got it. I realized later that I should have mentioned how to flash it without an SD card
Cool! Favorited in case I ever need it. Really useful I would imagine!
sirmx said:
tip: use 'adb remount' instead of the manual mount commands. Do that before you adb shell. Just saves a bit of typing.
Click to expand...
Click to collapse
So would that be like this:
Code:
adb remount
adb shell
adb push flash_image.zip /system/bin/flash_image
adb shell chmod 0755 /system/bin/flash_image
Just confirming because I am about to feature this method on the blog I write for (with credit to Stuke00 and a link to his post) and don't wanna mess up. =)
EDIT: Forgot to mention that you rock! Thanks for the earlier help too.
EDIT 2: Nevermind, did some reading on what 'adb remount' does and found out it remounts /system with read+write access so I guess this is it. Though please do correct me if I am still wrong (which I am often).
Covered this method
Oh and in case you guys are interested in seeing my coverage of your methods, here it is...
The original method by kyouko: http://www.addictivetips.com/mobile/how-to-install-a-rom-to-an-android-phone-device-without-sd-card/
The recovery method by Stuke00: http://www.addictivetips.com/mobile/how-to-flash-a-recovery-to-an-android-device-without-sd-card/
Thank you guys, I can't do my work and earn my living without you. Keep it up! =)
EDIT: I'll have this last line as a part of my signature now.
Is this possible with Clockwork?
refthemc said:
Is this possible with Clockwork?
Click to expand...
Click to collapse
Dunno, I don't have plans for using it ever again nor have I looked at Clockwork's github - if there is one.
But it should be able to if you can find out what scripts/commands are run when you use the menu. If you want to you can check the github link I have in the OP to see where I found the commands that are run, and then look for something similar in clockwork's source.
You'd be looking for something similar to:
Code:
--update_package=root:path - verify install an OTA package file
Thanks for the awesome guide! Saves me a lot of trouble, I don't have to take out my sdcard or manually enable USB in recovery anymore!
for me
for me it did not work in data but it worked in cache
kyouko said:
Brief rundown of what we just did:
Wiped /data/ to free up space for the zip
Put our ROM.zip onto the /data/ partition since we don't have an SD Card to work with.
Told the recovery to flash from our /data/ partition instead of /sdcard/
Click to expand...
Click to collapse
Hi, I try to install a ROM from CACHE but I'm getting this in my command line:
recovery --update_package=CACHE:rom.zip
sh: /sbin/postrecoveryboot.sh: not found
Click to expand...
Click to collapse
And my phone do nothing, how many time it take to install? normally using sdcard took no more than 5 minutes but using ADB nothing happens. Any help?
reynierpm said:
Hi, I try to install a ROM from CACHE but I'm getting this in my command line:
And my phone do nothing, how many time it take to install? normally using sdcard took no more than 5 minutes but using ADB nothing happens. Any help?
Click to expand...
Click to collapse
what recovery are you using?

UPDATE - experienced only please - perm temp root (til reboot) w/data speed increases

THanks to TEAMWIN!!!!!!!!!!!!!!
UPDATE to UPDATE- advanced users only that can understand my instructions please. I tried to make it newb friendly but this takes alot more time than I ever imagined ... (PROPS to ALL DEVS and POSTERS taking the time to share with us that which they spent hours testing!!!!)
so,
also download build.prop
place it in /data/bin
chown to root.root
chmod to 644
you only have to do this once, of course
Now reboot and run (updated and attached here at same time as the build.prop; so if you don't have the build.prop, you need to redownload daddy'stemproot.bat s it has been updated) daddy'stemproot.bat from wherever you downloaded it to.
http://dl.dropbox.com/u/7393616/build.prop
good luck!
UPDATE:
Just wanted to upload what I have been using since the original instructions are out of date.
have tested the following Windows script for 2 days without rebooting and retain full functionality on all root apps.
Instructions:
instead of doing copy/paste, once you have put fre3vo,su,busybox,and sqlite3 into /data/bin and set permisions/ownership, as per original instructions below,
if you have been using another script, just move everything to /data/bin and set permissions/ownership as per below;
and after every reboot, (or after doing the set-up for the first time users)
simply run this script:
(personally, after plugging my phone into my PC, and opening a command prompt, I always do "adb reboot"
then wait until the soft keys at bottom of screen light up (this means the phone is finishing all start up processes but for all extents and purposes the phone has booted) and then double click the file below. the command prompt will open and close itself, when closed, you are good to go until reboot)
Download and save this .bat to anywhere you want and run from anywhere you wish(mine is on my desktop for easy access):
LATEST VERSION Directly below:
http://dl.dropbox.com/u/7393616/daddy%27stemproot.bat
ORIGINAL Instructions:
Just wanted to give back so I will share how I have been getting functional su for on phone term apk and visible /data on root explorer and Superuser prompts for every root app (just because you allow at the prompt and Superuser allows an apk, doesn't mean it will alwasy work; if you open SetCpu more then once a boot it stops working. Bloatware Remover, though given root priveledges, doesn't work, I think becasue when trying to mount system, the apk uses the wrong partition in its script. etc.)
anyways
first get fre3vo, then the latest versions of su, busybox, sqlite3.
via shell from PC:
cd (directory where your 4 files are located)
push above files to /data/local/tmp (follow instructions in other threads)
get temp root via fre3vo
now with temp root do :
adb remount
adb shell mount -oremount,suid /dev/block/mmcblk0p23 /data
adb shell mkdir /data/bin
adb shell chown root.shell /data/bin
adb shell chmod 755 /data/bin
adb push (all 4 files, one at a time, to /data/bin)
adb shell chown root.shell /data/bin/su
adb shell chown root.shell /data/bin/busybox
adb shell chown root.shell /data/bin/sqlite3
adb shell chmod 6555 /data/bin/su
adb shell chmod 4555 /data/bin/busybox
adb shell chmod 755 /data/bin/sqlite3
adb shell chmod 755 /data/bin/fre3vo
now, set up is done, you don't have to do any of that again (unless you mesed up of course)
copy and paste the following lines into shell on PC and viola!
adb shell /data/bin/fre3vo
adb wait-for-device
adb remount
adb shell mount -o remount,suid /dev/block/mmcblk0p23 /data
adb shell ln -s /data/bin/su /system/xbin/su
adb shell ln -s /system/xbin/su /system/bin/su
adb shell ln -s /data/bin/busybox /system/xbin/busybox
adb shell ln -s /data/bin/sqlite /system/xbin/sqlite
adb shell mkdir /system/xbin/bb
adb shell /data/bin/busybox install /system/xbin/busybox /system/xbin/bb/
adb shell sync
So, everytime you reboot,
open a shell on your PC and copy and paste, and then you are free to live with root, until you reboot, and of course with limitations; but I personally can live with this until Fre3dom is complete.
Take your time boys(TEAMWIN) we love you!!!!
hope this helps somebody. I don't have much bandwith to check back to answer questions, but I am confident if any arise, that the community will step up as always. enjoy your root apps
Can somebody please explain to me what he means by latest version of su, busybox, and sqlite3? Apk or like files if anybody would be kind enough to post a zip file of all three?
xSunny said:
Can somebody please explain to me what he means by latest version of su, busybox, and sqlite3? Apk or like files if anybody would be kind enough to post a zip file of all three?
Click to expand...
Click to collapse
You can pull them files out of any rooted android phone.......
Why doesnt the OP just create a script and have it run with one click from the phone??
Thanks..
Sent from my HTC Sensation Z710e using XDA App
Mikey1022 said:
You can pull them files out of any rooted android phone.......
Why doesnt the OP just create a script and have it run with one click from the phone??
Click to expand...
Click to collapse
Commands to pull please?
xSunny said:
Commands to pull please?
Click to expand...
Click to collapse
Try the "Search" command here, if that fails hit Alt+f4.
KillaHurtz said:
Try the "Search" command here, if that fails hit Alt+f4.
Click to expand...
Click to collapse
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
xSunny said:
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
Click to expand...
Click to collapse
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
xSunny said:
Commands to pull please?
Click to expand...
Click to collapse
adb pull /sdcard/yourfile /whereveryouwantit
or setup an FTP server on your phone (https://market.android.com/details?id=org.swiftp) and download what you're looking for through that.
xSunny said:
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
Click to expand...
Click to collapse
KillaHurtz said:
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
Click to expand...
Click to collapse
What is it with this forum??!??!?! I used to have a HD2 and the forum there was awesome! So many helpful and friendly people creating a productive and welcoming community! But here in the Sensation forum every second thread is full of people *****ing at each other and behaving like children! What the hell is wrong with you guys???
KillaHurtz said:
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
Click to expand...
Click to collapse
Lmao.. Thats all im going to say to end this conversation anyways thanks for posting the commands to pull via adb
How do you push more than one file at a time?
adb push (all 4 files, one at a time, to /data/bin)
Click to expand...
Click to collapse
Thanks
Thanks Daddyroot ! the commands have really worked for me. Now I have a sensation with Temp root till I restart. All other scripts in the forum was not helping me.
Best solution I found so far. Not losing root till reboot anymore.
A++ would install again
Really glad to be able to give back to the community.
I wish I had more time when I posted this to check back and reply but I'm a single parent and time is short. After playing for a couple hours and finally seeing and being able to edit the /data folder, I knew it would be with it to make the time if I could help just one person to not waste the time figuring out what I could share. Nothing quite like the feeling you get on an unrooted phone when you first see the superuser prompt to allow or deny!!!
Thank you all who hit the thanks button!
And God bless TEAMWIN and (insert your favorite dev here)!!!
I will try to check back at least once a day...
Wisefire said:
How do you push more than one file at a time?
Click to expand...
Click to collapse
You don't... that's why he said "ONE, at a time"...

[GUIDE] Enable/Disable HTC Virtual CDROM

I personally hate the automounting CDROM image with HTC software. I know it's fairly common knowledge how to disable it but below are the commands for anyone that cares. Make sure android debugging is enabled and enter the applicable command in your computer's terminal. As with other /system edits, this will only stick if you have S-OFF. You may need your phone screen unlocked to accept the su prompt if you haven't already granted ADB root access.
Disable HTC Virtual CDROM:
Code:
adb shell su root -c "mount -o remount,rw /system /system; mv /system/etc/CDROM.ISO /system/etc/CDROM.ISO.bak; mount -o remount,ro /system /system"
Re-Enable HTC Virtual CDROM:
Code:
adb shell su root -c "mount -o remount,rw /system /system; mv /system/etc/CDROM.ISO.bak /system/etc/CDROM.ISO; mount -o remount,ro /system /system"
i didnt know
I didn't know either... thanks!:good:
Never even crossed my ind to remove that annoying "feature"
Cheers man
Any particular reason to not simply rename the file cdrom. iso.bak or just delete it?
Transmitted from the holodeck of my HTC One M8.
hgoldner said:
Any particular reason to not simply rename the file cdrom. iso.bak or just delete it?
Transmitted from the holodeck of my HTC One M8.
Click to expand...
Click to collapse
Nope, I'm in IT so I always rename and not delete for small files. Personal preference.
I had no idea. Thanks so much
Nice. So glad to get rid of that stupid thing. I wanted to do that before but couldn't find where the file was located. Worked great. Thanks alot!
Thanks, just used root explore, found the file, and just added .bak to it.
Put a bootable Linux rescue ISO in there :angel:
unfortunately, I can't find that file. it exist because the silly CD popups every time I plug my phone in, but the .iso isn't in system/etc. my phone seems to be slightly stupid when doing a search. Oh well. Good info to have. Thanks for posting the instructions. I appreciate it.

Categories

Resources