Lesson Learned trying to modify platform.xml - G2 Q&A, Help & Troubleshooting

I was trying to fix the issue where you cannot download from torrent apps on kitkat. I found this post, http://trendblog.net/fix-kitkat-sd-card-write-restriction/, and modified my platform.xml file. After restarting, I was unable to get to my external storage. Most of my apps were crashing. I finally had to restore from my TWRP backup.
Note to self - Don't try modifying system files!

Related

[Q] Help with JOP40D Files

I did a n00b move and integrated the Music2.apk into my system files and now the 4.2.2 upgrade keeps crashing because the checksum fails. I found the files but when I try to put them back into the /system/apps directory, the date changes so the checksum keeps failing.
Is it possible to take the files from a titanium backup or something to restore. My original backup is corrupted so I can't get the file from there.

Cannot access the TWRP folder

I recently flashed the stock android lollipop tgz file on my nexus 7. I rooted it, and then wanted to restore my nandroid backup. But, the backup does not appear in the recovery menu. I couldn't also copy the backup files to the tarp folder (no such folder existed, and when I tried making one using es file explorer or root explorer, it gave an error message.) How do I fix this problem. Please help guys I am sort of new to the forum[emoji16]
Same problem here. It does show up but it's a 0 bytes file last modified in 1970 (start of unixtime)
This is on my Nexus 4 though. Flashed manually with official images from Google and rooted with SuperSU.
- make sure you're using the latest twrp recovery for your device. get the latest img file for grouper (nexus 7) and mako (nexus 4) here: http://techerrata.com/browse/twrp2
- if you look around the forums, you'll find that people have had similar issues since lollipop. forget about trying to access twrp folder in android/es explorer for now (BTW droiderrr18 is probably getting the error when trying to create the folder because it's already there, just doesn't look like a folder and can't be opened, it looks like the 0 byte file looking thing LooieENG mentioned).
What you want to do instead is boot into twrp recovery and connect to your computer. you should be able to access your folders and files in MTP connection from Windows and move to your old backup that way. if not you can always use adb push command. the backup folder for twrp is storage/sdcard0/TWRP/BACKUPS
you can also do a new backup and find it, then move your old backup there to restore.
(side note: twrp also has its own file manager where you can see and if necessary manipulate your files, but be sure you know what your doing in there)
dtg7 said:
- make sure you're using the latest twrp recovery for your device. get the latest img file for grouper (nexus 7) and mako (nexus 4) here: http://techerrata.com/browse/twrp2
- if you look around the forums, you'll find that people have had similar issues since lollipop. forget about trying to access twrp folder in android/es explorer for now (BTW droiderrr18 is probably getting the error when trying to create the folder because it's already there, just doesn't look like a folder and can't be opened, it looks like the 0 byte file looking thing LooieENG mentioned).
What you want to do instead is boot into twrp recovery and connect to your computer. you should be able to access your folders and files in MTP connection from Windows and move to your old backup that way. if not you can always use adb push command. the backup folder for twrp is storage/sdcard0/TWRP/BACKUPS
you can also do a new backup and find it, then move your old backup there to restore.
(side note: twrp also has its own file manager where you can see and if necessary manipulate your files, but be sure you know what your doing in there)
Click to expand...
Click to collapse
I have the same problem. I need to access its data.f2fs.winxxx files for restoring my backed up apps using Nandroid Manager, which cannot access the folder, even though the original folder (/data/media/0/TWRP) can be accessed from ROOT EXPLORER and TWRP recovery file system
Nandroid Manager looks for only /sdcard/TWRP directory i guess, thus is unable to get backup storage location. Changing the Storage location in Nandroid Manager also has no effect.
I need to restore my backup apps. Please help if u can!

Corrupt framework file in the system folder, please help

So I rooted my device, hten followed a guide, that Instructed me to replace two files in the system/framework folder, services.jar and services.odex, i backed them up, but like a fool i backed them up in the same folder, which i can't access, I can restore from CWM and i was actually hoping someone had a system recovery that i could borrow, since i can't seem to figure out how to change the files back within my cwm backup.
callen2011 said:
So I rooted my device, hten followed a guide, that Instructed me to replace two files in the system/framework folder, services.jar and services.odex, i backed them up, but like a fool i backed them up in the same folder, which i can't access, I can restore from CWM and i was actually hoping someone had a system recovery that i could borrow, since i can't seem to figure out how to change the files back within my cwm backup.
Click to expand...
Click to collapse
Okay, slow down. You can fix this. There are only a few steps:
1. Download the stock odexed rom. You can find it here: https://www.androidfilehost.com/?fid=23622183712466565
2. Extract the stock rom.
3. Navigate to the system/framework folder
4. Copy services.jar and services.odex to your phone (download folder or anywhere on your sdcard is fine)
5. Since you are rooted, you can use a root file explorer to copy those files to your system/framework folder on your phone. Locate the two files you copied from the stock odex rom on your computer. Paste these into system framework, and overwrite the two existing files (you can use ES file manager or other root browser to accomplish this)
That's it! There are many other ways to do this, but this is probably the simplest.
I'd just flash a custom rom with hotspot though

I need a little help with some system apps! Thanx!

Hello everybody
I've recently upgraded my L03 to L01 and all the way up to B598 following your guides, thank you for your job.
I installed Link2SD and tried to convert some user apps to system apps, and Link2SD messed up system partition. It deleted system/app folder, so some important apps (such as the native explorer, clock, calc, even the hidden menu to force upgrade!) don't work.
Please!, if someone could zip system/app folder and send it to me i would be so thankful. :good::good::good::good:
I've tried several things, like extracting them from the update.app, but ex4extractor got stuck when trying to read system.img contents.
Thanx again!
EDIT:
I managed to extract system\app contents from system.img thanxs to Beta_P8_Lite_Alice_tool_pack-
Beware of link2sd. Don't try to convert user apps to system apps with this app, or chances are that it will mess up your system partition

Need help with bootloop

I edited the platform.xml file to try to get read/write permission for the sd card, but I managed to mess up the platform.xml file. Now, the tablet bootloops a couple of times, then goes into TWRP. I'm trying to figure out how to fix or replace the platform.xml file. When I use the file manager in TWRP, I can't find the platform.xml file. It's supposed to be in /system/etc/permissions/platform.xml but that location doesn't exit. Does anybody have a suggestion about how to get this fixed? Source files or just a clean platform.xml file would probably do the trick.
Any suggestions appreciated.
================================
edit: Never mind: I found the file and used TWRP file manager to fix it.

Categories

Resources