Jump to content

Gettin an app into /system/app in original rooted ROM


Recommended Posts

Guest Cartol
Posted

Hi everyone, i have a problem I have been trying to solve for days but to no avail

Im trying to move an app to the /system/app (don't ask why, I just need that) folder and as much as I've tried with every method suggested online but i just couldnt.

I have root access thanks to unrevoked so I tried the following

bought root explorer

copyied the app apk from data/app

navigated to system/app

changed to r/w

at his point status bar in root explorer shows 256mb - 16mb free space (the app is 700kb)

I hit paste and then suddenly status bar changes to 256mb - 0kb free space and the app is not there

so I try other method

download app.apk to pc

allow write rights to /system/app folder

go to console and do adb push app.apk /system/app/

result: no disk space

so I tried other method

rebooted in recovery

adb shell and navigate to /system/app

do an ls and nothig is there, but it's worth a try I think

adb push app.apk /system/app

Reboot to normal mode

Navigate to system/app with root explorer and app is not there (as I had imagined)

I really don't know what else to do, my rom version is the latest htc desire update, Europe

HAS ANYONE GOT ANY OTHER IDEAS?

Guest gambieter
Posted

Do you only have root-access, or did you also get s-OFF? The latter is required to be able to write in the /system partition. You can get s-OFF via AlphaRev.

Guest Cartol
Posted
Do you only have root-access, or did you also get s-OFF? The latter is required to be able to write in the /system partition. You can get s-OFF via AlphaRev.

... reading information about tat right now... I had missed that part, I'll try and let you know. thank you and happy new year.

Guest Cartol
Posted

Ok I tried to get alpharev to work... nothing it stops all time time at step 3 this is what happens:

I burn alpharev cd

reboot enter No to clockwork (already have it)

start procedure

step 1 goes fine ,, reboots

step 2 goes fine, it loads his stuff but when the phone reboots into regular os alpharev says reboot into hboot to flash hboot or something like this. At this point for some reason the phone goes to charge mode and apharev can't find it anymore.

Now alpharev is expecting hboot so I reboot volume down to enter hboot

alpharev recognizes it and does something then reboots the phone and tells me to expect on screen information

These information never appeared, phone just booted normally with s-on

So I try the procedure again, same kink at end of step 2, i reboot in Hboot

phone stops at htc logo and keeps booting

Lucky me I had the pm99...,zip on my sd card

I load Hboot

reflash everything

get unrevoked to root the phone

and so I think have an untouched original rom tha I can try again

But I think wrong... Exactly the same problems

ANY IDEAS?

Guest Cartol
Posted (edited)

I'm going crazy about this seems like the hole world can do it and I dont :unsure:

Edited by Cartol
Guest EddyOS
Posted

You don't have to enter CWM, just boot off the CD and connect your phone when it tells you too

Guest gambieter
Posted
ANY IDEAS?

Make sure the standard setting on the Desire for syncing is "don't ask" (so no tick at Ask me), and default should be Disk Drive. Only then use Alpharev.

Guest EddyOS
Posted (edited)

It's shouldn't be disk drive, it should be charge only and make sure it's set to debug mode too

Edited by EddyOS
Guest Cartol
Posted
It's shouldn't be disk drive, it should be charge only and make sure it's set to debug mode too

I know, i set it to usb debug, but just keeps switching to charge only mode at that point

Guest gandalfmuaddib
Posted
so I tried other method

rebooted in recovery

adb shell and navigate to /system/app

do an ls and nothig is there, but it's worth a try I think

adb push app.apk /system/app

Reboot to normal mode

Navigate to system/app with root explorer and app is not there (as I had imagined)

Did you mount your /system partition when you're in recovery?

If you're using ClockwordMod recovery, you can do this via the Mount menu.

I can't remember the exact adb command otherwise, but it is something like:

adb mount /system

Just do either one before you copy the app into /system/app. If you do an ls you should see the existing applications.

Hope this helps you.

Guest BashyUK
Posted

With regards to getting S-Off, make sure you have the latest htc drivers installed via HTC Sync. Usual steps, d/l latest htc sync, install, uninstall just the htc sync app but leave the drivers on.

Connect usb cable, ensure usb debugging is enabled and charge-only mode is selected

run cd. You should not have to do anything until everything i9s complete, it reboots into hboot itself, don't touch it even if it seems to be taking a 'while'.

All in all the process can take up to 15 mins. Took mine 10.

After that your steps seem fine although i prefer using Terminal Emulator and the commands such as:

su

mount -o remount,rw /system

Then you can just cp your fie from the sdcard to the system /app directory

Guest Cartol
Posted

First of all thanks to everyone for help ad support, I finally got it to work

Tha problem was that I used USB debug in Htc sync usb mode, that blocked alpharev for some reason, I tried to do it enabling usb debug in charge mode and everything went fine, I moved app into system/app in 2 secs.

Thanks to everyone and a happy new year.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.