View Single Post
  #997 (permalink)  
Old 07-02-2010, 01:55 AM
iknowsquat's Avatar
iknowsquat
Retired Staff
Offline
Location: Tampa
 
Join Date: Nov 2008
Posts: 2,940
Reputation: 7809
iknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the communityiknowsquat is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: OMJ's HTC EVO 2.1 Custom ROM v1.6 | Eclair | *Updated | 6/30/10*

Quote:
Originally Posted by KarlE View Post
Thanks that's what need to know... let me know what you learn about it only writing From recovery

Sent From My HTC Evo Useing Tapatalk
I wrote to /system

I was NOT in Recovery. Now I'm an adb n00b so while I can confirm we can write to /system I'm no expert in commands, codes, etc.
Here's an example of how I moved Sprint TV from my SD card to /system/app:

Opened a command window (Run...cmd...cd\)
C:\>android-sdk-windows\tools\adb shell YOUR PATH WILL VARY
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system THIS MOUNTS /SYSYEM AS WRITABLE
# cat /sdcard/Sprint_TV.apk > /system/app/Sprint_TV.apk
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system THIS RETURNS /SYSTEM TO READ ONLY
(dont type the $ or #, that is what you'll see)

EDIT: Run a mount command after typing su. You'll get a list of code that tells you which mtdblock your system is in. mtdblock4 is apparently the one used when you are booted into the system. My original post had mtdblock3 in the code but I changed it after some reading.

I copied and pasted those commands and they worked, if they dont work for you try typing them out.
This is just how to move a file to /system/app. I was just looking to prove we could do it in OMJ's 1.6 since the typical way seemed not to work. I dont know what this implies about the rest of the system.

In messing around since I didnt know remove commands I simply removed other files from /system/app with Android Mate/delete. THAT was easy
I'm not saying this is the only way or the best way, just something I researched and figured out.
__________________

Last edited by iknowsquat; 07-02-2010 at 03:46 AM.
Reply With Quote
This post has been thanked 2 times.