Copying system files from one rom to another - HTC Sensation

Hi all,
in the current rom I am using there is one file missing in sys / android_touch (s2w), but in an older version I have the file. Is there a way to copy this file? I have a file manager with root access and tried already, but I was not allowed to copy the file. Any ideas?
TIA
Sent from my HTC Sensation using xda app-developers app

blackfrank said:
Hi all,
in the current rom I am using there is one file missing in sys / android_touch (s2w), but in an older version I have the file. Is there a way to copy this file? I have a file manager with root access and tried already, but I was not allowed to copy the file. Any ideas?
TIA
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
s2w is known as sweep 2 wake it means when you swipe your finger from home to search button you screen will turn on
its related to kernel
IMO you cannot copy system files as they might be different if you want s2w flash a kernel wch supports it

Related

[Q] How could I get system app from firmware?

Is there any way for me to extract system apps from firmware, like file manager, and install it or use it as usual apk?
Try titanium back up. Back up your fw, install any desired system app on another compatible fw using restore...
Did it a couple of times for music app & calculator..
Sent from my GT-I9003 using xda premium
Just extract the ROM's tar file using 7-zip etc. then use MagicISO to extract the System.rfs file. You'll find all the system apps in app folder.
mznk said:
Just extract the ROM's tar file using 7-zip etc. then use MagicISO to extract the System.rfs file. You'll find all the system apps in app folder.
Click to expand...
Click to collapse
I tried that, but when I installing application on device I see: "App is not installed"
You'll have to make it a system app. Do it via Titanium Backup or using any File Explorer with root functionality (Set permission as rw-r--r--).
aannzzoorr said:
I tried that, but when I installing application on device I see: "App is not installed"
Click to expand...
Click to collapse
you need to deodex those apk's first.
xGiox said:
you need to deodex those apk's first.
Click to expand...
Click to collapse
How?
Go dev section
there some deodex cwm zip version for u to download
If u only some apps
Just unzip it and copy it to your system app folder.
just search before post
Sent from my GT-I9003 using XDA
chongns said:
Go dev section
there some deodex cwm zip version for u to download
If u only some apps
Just unzip it and copy it to your system app folder.
just search before post
Click to expand...
Click to collapse
I tried but app is not in drawer, it's only in system/app folder.
aannzzoorr said:
I tried but app is not in drawer, it's only in system/app folder.
Click to expand...
Click to collapse
Set permissions and lib files may be necessary. Place lib files in /system/lib or something like that
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
aannzzoorr said:
I tried but app is not in drawer, it's only in system/app folder.
Click to expand...
Click to collapse
Change permission to rw r r
Change own to root root
Using root explorer
And restart the phone
Sent from my GT-I9003 using Tapatalk 2
Originally Posted by aannzzoorr
I tried but app is not in drawer, it's only in system/app folder.
Click to expand...
Click to collapse
Change permission to rw r r
Change own to root root
Using root explorer
And restart the phone
Sent from my GT-I9003 using Tapatalk 2
Click to expand...
Click to collapse
Sent from my GT-I9003 using the XDA mobile application powered by Tapatalk
Still can't see it...

How to Flash zipped file without custom recovery?

Hi there!
I have U30GT tablet which unfortunely till now didn't have any custom recovery. Some time I want to flash files to the ROM but due to this limitation I need to copy the files manually (easy job) and set the permission (hard job when there's a lot of files).
So is there any other ways that I can automated the task of copying the files and setting the correct permission without using custom recovery?
Many thanks!
Have you tried using a script or bat file to copy and set permissions through adb from your desktop?
Sent from my VS910 4G using xda app-developers app
I.M.famous XMAN said:
Have you tried using a script or bat file to copy and set permissions through adb from your desktop?
Sent from my VS910 4G using xda app-developers app
Click to expand...
Click to collapse
Thanks. But I don't know how to do a script or bat file to be used with adb. Can you write up some guide for it?
I'll see what I can do. No garruntees. But another option is to push the files through adb then use v6 supercharger to fix emissions. Idk. Let me see if I can Whip something up for you.
Sent from my VS910 4G using xda app-developers app
package can be flashed through stock recovery but they are needed to be signed properly with the manufacturer's key
dheeraj (dhlalit11) said:
package can be flashed through stock recovery but they are needed to be signed properly with the manufacturer's key
Click to expand...
Click to collapse
Thanks but I wanna copy files for some tweaks only.
Well I found 1 solution, that is to manually copy the files than use ROM Manager app to fix permission. Also found thread here in XDA about using .bat file to automated the push and set permission but as I very lacking in knowledge in using command, I'll stick to Root Explorer + ROM Manager combo.
you can root device,cat stock recovery.img,and then compile cwm recovery.
Check this website someone is working on getting CLOCKWORK recovery on U30GT
http://www.freaktab.com/showthread.php?1396-Cube-U30GT-H-JB-Finless-1-4-ClockWork-BETA1
Sent from my EVO

Moving Stock Camera?

Is there a way that u can move the original camera app with root user ability using a File Manager to where the camera app is at in JellyBam ROM or is that possible?
Sent from my HTC One S using xda premium
Use adb
Sent from my HTC VLE_U using xda app-developers app
Spastic909 said:
Use adb
Sent from my HTC VLE_U using xda app-developers app
Click to expand...
Click to collapse
So the way I mentioned, can't be done as long I save them in root extensions in File Manager?
Sent from my HTC One S using xda premium
You can copy a system apk and save it in /sdcard/ for example, and then copy it back to /system/app using a filebrowser with root-function, such as ES File Explorer, Root Explorer etc. No need for adb if you dont want to.
But I doubt the stock camera app will work on an AOSP build.
Goatshocker said:
You can copy a system apk and save it in /sdcard/ for example, and then copy it back to /system/app using a filebrowser with root-function, such as ES File Explorer, Root Explorer etc. No need for adb if you dont want to.
But I doubt the stock camera app will work on an AOSP build.
Click to expand...
Click to collapse
This is where your app comes in handy.
Darknites said:
This is where your app comes in handy.
Click to expand...
Click to collapse
The File Manager in root access u mean and do u believe it might work cuz Goat doesn't think so?
Sent from my HTC One S using xda premium
TheCrow1372 said:
The File Manager in root access u mean and do u believe it might work cuz Goat doesn't think so?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
If you installing the camera from say CM10 which I would call stock for AOSP but I think Goatshocker thinks you on about the Sense camera.
If you use his app then load it up connect it to pc with usb debugging on and then replace Gallery2.apk and then reboot, oh and a tip don't let the app install it but just push the apk.
Also, the All In One Kit can push them too yes?
Sent from my HTC One S using xda premium
TheCrow1372 said:
Also, the All In One Kit can push them too yes?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
No idea on that but Goatshocker app works fine for what you want to do.
Did you sort this yet?
When you said "stock camera", I obviously assumed you ment the stock camera that comes with the phone, which means - sense.
Moving the camera between different AOSP roms shouldnt cause any issue. Neither should moving the sense camera between sense roms.
But moving the Sense camera to an AOSP rom - thats what I doubt will work.
In any case, you can always (if youre rooted, obviously ) copy the camera apk and replace it. If it doesnt work it wont start, thats it. The actuall copy/replace will still work.
Do note that you might need to reboot the phone after modifying /system/ applications.
In very rare cases you might have to do it through a recovery, using ADB, because the system might block access (similar to windows "the file is in use" message when trying to change an open file).
In any case, you should always back up the file you are replacing, before replacing it, in case the new file doesnt work.
I usually do it an ugly way, simply renaming the old file to "blabla.apk_"
That way the file will still be there, but the system wont recognize it as an application. If the new file works as it should, I go back and delete the ".apk_" file.
Just to clarify a final time: Replacing the camera app in /system/ will in 99% of the cases work with a root explorer on the phone, the last 1% might need to use ADB while in recovery or bootloader.

build.prop helppppp

i modified the build prop and rebooted my htc and it is now showing nothing
i have made a back up of it but how can a access the root files of the phone????
Please help?!?!?!?
blitz100 said:
i modified the build prop and rebooted my htc and it is now showing nothing
i have made a back up of it but how can a access the root files of the phone????
Please help?!?!?!?
Click to expand...
Click to collapse
you must have nandroid..
PopaStefanx said:
you must have nandroid..
Click to expand...
Click to collapse
whats that.ima noob
blitz100 said:
whats that.ima noob
Click to expand...
Click to collapse
fml.:banghead: you should always make a nandroid backup using your custom recovery before messing with system files.
do you know what recovery you have?
what version is your hboot?
when you say nothing what do you mean?
completely empty homescreens not even the app drawer?
Could he push the backup of the build prop via adb?
Sent from my GT-P5110 using xda app-developers app
Skipjacks said:
Could he push the backup of the build prop via adb?
Sent from my GT-P5110 using xda app-developers app
Click to expand...
Click to collapse
Yeah, original build.prop file from the original ROM
Download your rom zip, extract the build.prop. Put it on the root of your sd card. Download aroma file manager and put it on your sd card. Go in recovery, install aroma file manager, find your build.prop in system and delete it. Navigate to the sd card and find your build.prop you downloaded, and paste it where the build.prop file was deleted. Usually it's in the system directory
Kind Regards
Dave
Sent from my HTC Sensation using xda app-developers app
topgeardave said:
Download your rom zip, extract the build.prop. Put it on the root of your sd card. Download aroma file manager and put it on your sd card. Go in recovery, install aroma file manager, find your build.prop in system and delete it. Navigate to the sd card and find your build.prop you downloaded, and paste it where the build.prop file was deleted. Usually it's in the system directory
Kind Regards
Dave
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Not my issue but I had to thank you anyway.
Explained like a Sir! :good:
topgeardave said:
Download your rom zip, extract the build.prop. Put it on the root of your sd card. Download aroma file manager and put it on your sd card. Go in recovery, install aroma file manager, find your build.prop in system and delete it. Navigate to the sd card and find your build.prop you downloaded, and paste it where the build.prop file was deleted. Usually it's in the system directory
Kind Regards
Dave
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Every day i learn something new.Thanks man!
dw ive sorted it ...i flashed the rom again n it is there

question about "root/storage/emulated"

Can someone explain this to me, why does root explorer can't access files on "root/storage/emulated"
You know, nexus 5 virtual sdcard directory is "root/storage/emulated/0" but CWM backup directory is "root/system/clockworkmod"
I used to place the .zips for flashing new roms at "root/storage/emulated" using CM's file manager, though I'm on PA I installed CM's file manager from CM App Installer
the problem is CM's file manager not guaranteed to run on every rom. And from root explorer "root/storage/emulated" is not shown correctly (yes it can be accessed but the .zips and clockworkmod backup directory is not shown). But from CM's file manager it is accessible
Here I attached the problem I mean, you can see on the root explorer there's only 2 folder on "root/storage/emulated" (0 and legacy) but from cm's file manager it shows another files
What went wrong?
Sorry if my English are weird since English is not my primary languange
Because CWM is outdated.
Lethargy said:
Because CWM is outdated.
Click to expand...
Click to collapse
This. Stop using cwm.
Sent from my Nexus 5 using Tapatalk
rootSU said:
This. Stop using cwm.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can you guys just explain why the folders isn't showing on root explorer but it is shown on cm file manager?
dustinraditya said:
Can you guys just explain why the folders isn't showing on root explorer but it is shown on cm file manager?
Click to expand...
Click to collapse
Can't explain why it shows in cm. I don't/won't use it.
Storage/emulated isn't a real location. Click the link in my signature and then find my data info thread. Everything is explained there. And stop using cwm
Sent from my Nexus 5 using Tapatalk
rootSU said:
Can't explain why it shows in cm. I don't/won't use it.
Storage/emulated isn't a real location. Click the link in my signature and then find my data info thread. Everything is explained there. And stop using cwm
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
"
I figured out that the files is at "root/mnt/shell/emulated"
I don't know why Cm and rootex shows different directory
OOT, what rom are you running now? Just curious
And Philz touch at your signature, can I just flash the .zip in cwm to get it replacing my current cwm?
I use slimkat and yes you can
FYI the true location of sdcard is /data/media/0
Sent from my Nexus 5 using Tapatalk
rootSU said:
I use slimkat and yes you can
FYI the true location of sdcard is /data/media/0
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Okay thank you. I'll flash philz touch right now

Categories

Resources