[Q] Modifying System Files - T-Mobile LG G2x

Greetings Flashers!
I have been attempting to modify system files to implement the remove data throttling hack on my g2x. http://forum.xda-developers.com/showthread.php?t=1052064 Rom is xboarders ota gingerbread tweaked. Im using a free file manager, granted su permissions, cant write to system files. It looks like it went through but will not delete or overwrite successfully. Any ideas gang?

Related

[Q] HELP - no build.prop

I just applied Daoist's CWM stock ROM update (should still be rooted, right?). It came up first time.
Then, I modded my build prop (set dpi to 120 because I like it that way). But maybe I screwed up the file name in Root explorer, because now I'm in a boot loop and if I try ADB PULL /system/build.prop it says "file not found."
I can't get SU through adb, so can't push build.prop to /system. ADB remount returns an error. permission denied. Transformer won't boot, so I can't do anything from it.
I CAN get to cwm, and have been trying to create an update.zip that will just copy build.prop to /system, but everything I have tried quits with "install aborted" message.
What can I do?
restore a nand and dont try and **** with it again, lol. no but really, restore a nand and then copy your build. prop and make a flashable zip and place on your sd card in case it happens again, so you can just flash it in cwm.
Resolved..
Well, why go back when you can go forward?
I went ahead and installed the Prime ROM. Looks like it is eating all my currently installed apps.
Y'all should know, though, that if your system can't find a build.prop it won't start. You can ADB to it and have a rudimentary set of commands, but your ability to significantly alter anything in your file system will be prohibited.
Lesson learned.
glg
as a side note most editors in android rename system files when you change them to "nameoffileyouedited".bak so if you pull and rename that file that might have fixed your problem. also try lcd dencity changer from the market. its a little less hazordous
mrevankyle said:
as a side note most editors in android rename system files when you change them to "nameoffileyouedited".bak so if you pull and rename that file that might have fixed your problem. also try lcd dencity changer from the market. its a little less hazordous
Click to expand...
Click to collapse
That is true. I had backups. But without a build.prop, the virtual machine won't start. There is no way to do a file operation to replace the backup. At least none that I found. I had to flash the whole system.
glg

[Q] How can I reinstall DMClient.APK?

I erased by mistake the DMClient.APK file from /system/apps folder, it's on WW .21 version of stock rom, can anyone help me by getting the file sent to me and explain how to put again in the folder, as I tryed to do it by simply copying to folder and gave me an error with one I tested.
Do I need to install as usual? Or wich process is the recommended for it?
I have ROM Toolbox and I'm fully rooted with latest Busybox and Terminal.
Thanks in advance for your help.
Made it...
After searching a ot in other forums, found the process, first you need to stop the CMClient process, then copy the DMClient to the folder, restart the transformer and that's it. I have my system fully functional again.

I lost original system app: text messaging app, can anyone email me the backup?

Hi all,
In order to show the SMS's sent timestamp, I replaced the system's messaging app with handcent message. I backup all the following apps with Titanium backup, and uninstall them by Titanium uninstalling function.
Conversations.apk
Messaging.apk
MessageWidget.apk
UniversalInbox.apk
But the Titanium backup failed to restore the system messaging app after experiment. When i want to restore the apps referred ahead, the Titanium frozen.
And I extract all the apps from a ROM, and want to restore them by "Systemapp Remover". The remover show success, and i reboot the phone, but nothing changed. and i found in the systemapp remover interface, all the 4 apps' status were "disabled".
I think a backup from a running Atrix 2 will help my restore all the apps.
so does anybody can backup all the four system apps by "Systemapp remover", zip the SD:\SystemAppBack folder, and email the zipped file to me. and i will try restore them.
Thank you in advanced, i do not want to reflash my phone. Thank you in advanced.
my email : [email protected] or [email protected]
First off, you should never uninstall or delete system apps, you should always freeze them, that way if you have a problem and need them later you can just defrost them.
Second, the core phone apps like messaging and dialer should never be frozen or removed, they are needed even by replacement apps such as Handcent.
Third, you can get those apps from any ROM that still has the stock apps such as SCv6 or better yet the Stock Monster which is in the Themes and Apps section. Just download, then unzip the ROM and go to the /system/app folder. If you get it from a de-odexed ROM just grab the apk files, if you get them from an odexed ROM (such as The Stock Monster) make sure you grab both the apk and the odex files for each app.
Lastly, please research before doing things to anything in the /system folder...messing up something there is a sure fire way to get stuck in a bootloop or softbrick.
lilhaiti said:
First off, you should never uninstall or delete system apps, you should always freeze them, that way if you have a problem and need them later you can just defrost them.
Second, the core phone apps like messaging and dialer should never be frozen or removed, they are needed even by replacement apps such as Handcent.
Third, you can get those apps from any ROM that still has the stock apps such as SCv6 or better yet the Stock Monster which is in the Themes and Apps section. Just download, then unzip the ROM and go to the /system/app folder. If you get it from a de-odexed ROM just grab the apk files, if you get them from an odexed ROM (such as The Stock Monster) make sure you grab both the apk and the odex files for each app.
Lastly, please research before doing things to anything in the /system folder...messing up something there is a sure fire way to get stuck in a bootloop or softbrick.
Click to expand...
Click to collapse
Wait! The (now defunct) Stock Monster doesn't have those apps... Try Romulus if you are still on stock odexed, or Remus if you are deodexed - they both have most of the stock apps.
Also, you need the classes.dex file in the deodexed apks, so you couldn't just grab the apks only from the Stock Monster anyway if you are deodexed.
In fact, are you odexed or deodexed? I could throw those apps in a CWM recovery zip real quick for you...
Hi alteredlikeness,
Thank you so much.
but i used systemapp remover instead of recovering the zip file sent by you. But the same, all the 4 apps restored, but status were "disabled" even if rebooting the phone.
I'm wondering whether there was a file recorded the system files' hashing key? so i restore the file with system app remover always fails.
gjgj said:
Hi alteredlikeness,
Thank you so much.
but i used systemapp remover instead of recovering the zip file sent by you. But the same, all the 4 apps restored, but status were "disabled" even if rebooting the phone.
I'm wondering whether there was a file recorded the system files' hashing key? so i restore the file with system app remover always fails.
Click to expand...
Click to collapse
I have no experience with systemapp remover.. did you try to flash the zip through cwm recovery?
My thought is maybe the permissions are not correct.. you can check and change the permissions with root explorer, or use the "fix permissions" option in cwm recovery.
Sent from my phone's mind
alteredlikeness said:
I have no experience with systemapp remover.. did you try to flash the zip through cwm recovery?
My thought is maybe the permissions are not correct.. you can check and change the permissions with root explorer, or use the "fix permissions" option in cwm recovery.
Sent from my phone's mind
Click to expand...
Click to collapse
Browse the /system/app/ directory with Root Explorer, all the 8 files permission were correct, and i reboot the phone, but all the apps were still disabled.
Thank all, i had recover all the files from a backup files from the same version. Maybe android will check the system apps' version or MD5 hash.

[Q] how to enable system write

I installed several kernels with system write protection disabled but every time i try to edit an xml file i cant save it i cant copy files to system its just not enabled i try to enable it through es file explorer but it says everythings already r/w i tried fixing permissions in twrp i have a kernel installed with write protection disabled but still no luck any help would be greatly appreciated thank you
power950 said:
I installed several kernels with system write protection disabled but every time i try to edit an xml file i cant save it i cant copy files to system its just not enabled i try to enable it through es file explorer but it says everythings already r/w i tried fixing permissions in twrp i have a kernel installed with write protection disabled but still no luck any help would be greatly appreciated thank you
Click to expand...
Click to collapse
Need more information.. What base are you on? 1.55.605.2? Which kernel did you flash? What mod exactly are you trying to do?
nicholi2789 said:
Need more information.. What base are you on? 1.55.605.2? Which kernel did you flash? What mod exactly are you trying to do?
Click to expand...
Click to collapse
clean rom 1.1 http://forum.xda-developers.com/showthread.php?t=2732877
checkm8 team code craft says it disables write protection http://forum.xda-developers.com/showthread.php?t=2716686
as for the base how do i check i was on the latest update when i s offed and rooted and flashed everything around may 5th i think it was the latest base but how do i check i can let you know? im just trying to edit my default.xml in system/customize/ACC/ and i cant i just wanna write to system copy files to the root of the system etc
power950 said:
clean rom 1.1 http://forum.xda-developers.com/showthread.php?t=2732877
checkm8 team code craft says it disables write protection http://forum.xda-developers.com/showthread.php?t=2716686
as for the base how do i check i was on the latest update when i s offed and rooted and flashed everything around may 5th i think it was the latest base but how do i check i can let you know? im just trying to edit my default.xml in system/customize/ACC/ and i cant i just wanna write to system copy files to the root of the system etc
Click to expand...
Click to collapse
Yes you can check by going into settings>aabout phone>software information>software number. If your on Cleanrom v1.1 it will be 1.55.605.2 which is the latest base. What mod are you trying to do by editing your default . XML? There are a lot of things you can tweak in there.
Also, Cleanrom v1.1 has system r/w enabled by default. So you didn't need to flash that kernel to have it.
"Pre Rooted with SuperSU and Busybox pre-installed
Writeable /system partition
Unsecured kernel with ADB remount capabilities"
My advice would be to re-flash the rom, or restore a nandroid backup to get the roms stock kernel back. You could just dirty flash the rom and only wipe cache and davlik. You should be fine.
But once again, what mod are you trying to do in your default.xml? It may be I can help you sort it out, or at least tell you why it's not working.
nicholi2789 said:
Yes you can check by going into settings>aabout phone>software information>software number. If your on Cleanrom v1.1 it will be 1.55.605.2 which is the latest base. What mod are you trying to do by editing your default . XML? There are a lot of things you can tweak in there.
Also, Cleanrom v1.1 has system r/w enabled by default. So you didn't need to flash that kernel to have it.
"Pre Rooted with SuperSU and Busybox pre-installed
Writeable /system partition
Unsecured kernel with ADB remount capabilities"
My advice would be to re-flash the rom, or restore a nandroid backup to get the roms stock kernel back. You could just dirty flash the rom and only wipe cache and davlik. You should be fine.
But once again, what mod are you trying to do in your default.xml? It may be I can help you sort it out, or at least tell you why it's not working.
Click to expand...
Click to collapse
i would just like to write to system for future purposes for the mean time i used adb to pull the default xml then i modified the file on my pc to enable harman kardon and music channel then went to recovery mounted system and pushed it back its just a pain seeing i can't write to system when i want to yes it says 1.55.605.2 so i should be able to write to system and you suggest a fresh install? or should i just pull the kernel image out of the rom zip and flash through fastboot?
CleanROM has this capability without any 3rd party kernels or other modifications. I use ES File Explorer on a clean install of CleanROM 1.1 to write to the /system partition. You do need to enable R/W permission in the ES File Explorer app by clicking the upper left icon, going to Tools, enabling the toggle for Root Explorer, clicking on the words Root Explorer, clicking on Mount R/W, and enabling RW permission on whatever directory you want to.
shortstuff_mt said:
CleanROM has this capability without any 3rd party kernels or other modifications. I use ES File Explorer on a clean install of CleanROM 1.1 to write to the /system partition. You do need to enable R/W permission in the ES File Explorer app by clicking the upper left icon, going to Tools, enabling the toggle for Root Explorer, clicking on the words Root Explorer, clicking on Mount R/W, and enabling RW permission on whatever directory you want to.
Click to expand...
Click to collapse
was trying to avoid i clean install but i'll give it a go i did enable r/w with es file explorer and made sure all the bubbles were checked with still no luck ill do a fresh install without flashing any other files but clean rom and see what happens i'll let you guys know after i do it thanks
okay so I did a fresh install i factory reset x3 wiped data i know this wasn't necessary but i typed yes and wiped data x3 i went into advanced wipe and and checked every box except usb otg after backing up sd cards and then swiped to format x3 i then powered off the phone ejected my sd card put clean rom 1.1 on it and flashed it with no other files rebooted my phone went through the setup installed es file explorer enebled root access clicked on root access clicked on mount r/w and made sure everything was bubbled in on the right side mount r/w and i still cannot right to system im ready to give up
power950 said:
okay so I did a fresh install i factory reset x3 wiped data i know this wasn't necessary but i typed yes and wiped data x3 i went into advanced wipe and and checked every box except usb otg after backing up sd cards and then swiped to format x3 i then powered off the phone ejected my sd card put clean rom 1.1 on it and flashed it with no other files rebooted my phone went through the setup installed es file explorer enebled root access clicked on root access clicked on mount r/w and made sure everything was bubbled in on the right side mount r/w and i still cannot right to system im ready to give up
Click to expand...
Click to collapse
Why not make a copy of the files you want to edit... fix them up how you like.. then copy them back into place using file explorer function of TWRP (make sure you mount system).... OR put them in a flashable zip template and flash them. The changes will stick. You are likely trying to change files in use.
doh
dottat said:
Why not make a copy of the files you want to edit... fix them up how you like.. then copy them back into place using file explorer function of TWRP (make sure you mount system).... OR put them in a flashable zip template and flash them. The changes will stick. You are likely trying to change files in use.
Click to expand...
Click to collapse
oh lol your'e right i just copied a file over from my sd to the system to test it wow I should of known that thanks so much this issue is solved I'm disappointed in myself gotta give myself 10 minutes time out now thanks tho

Installing .apk without root possible?

Hello,
I am wanting to install a few applications in system folder so that they get root access on an unrooted phone. I have seen that its possible to uninstall system applications using fastboot, so this makes me think that it is possible.
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Im hoping that maybee there is a script which will take a file from the work folder and flash it into system app folder?
Thanks guys

Categories

Resources