[Q] Rooted phone, but no fota folder in cache. - Verizon LG G2

I have stock VS980-12B and rooted (just updated from ioroot23 to ioroot25). When I check the cache its empty and no fota folder. I want to get 24A kitkat. What must I do to get the fota folder (I can't create a new folder in cache).

Su
You must have root access in order to create a folder there.
You can do this one of two ways:
1. Use a root enabled file browser like ES File explorer and grant it root access. (Menu->tools->Root Explorer), then navigate to your desired location and create the folder,
2. Using a command line (ADB or Terminal Emulator) type su<enter>. The terminal will request root on your phone, grant it, then type cd /cache<enter> then mkdir fota

Related

[Q] How to mount SD partitions from eMMC?

In case it's unclear, I have CM7 on eMMC and am setting up a Honeycomb/Phiremod dual-boot on SD, and would like all three ROMs to use the storage partition (7th in this case) on the card. The following post suggests to me that it's possible:
racks11479 said:
No need to root your stock nook. If you have a CM7 sdcard, root explorer or file expert(free from market), and a terminal emulator app. Which you should have with cm7. Try the following steps.
-using root explorer or file expert. Mount system as R/W
-open up a terminal emulator and run the following commands
Code:
$ su
# mkdir /mnt/nooksys
# mount /dev/block/mmcblk0p5 /mnt/nooksys
-now exit out of terminal emulator
-open up root explorer/file expert
-navigate to /mnt/nooksys
-you should now be able to see the stock nook system partition
-open up the /etc directory
-long press the vold.fstab file.
-it should give you an option to open with text editor
-change the line where it mounts the /sdcard from auto to 4
-exit out of root explorer
-reboot to stock
-it should now mount the 4th partition of your sdcard
Click to expand...
Click to collapse
The file path specified, however, did not work, and I don't know enough about linux in general or the specific file structures to figure out the necessary changes. The system I want to redirect is the CM7.1 beta running dalingren's 5/13 OC kernel.
I also don't know for sure whether the above works for redirecting a stock 1.2 install.

to those with local.prop issues

I am seeing a lot of posts with questions about the local.prop file. If any of you are having permission issues enable mass storage mode then open notepad on your computer and type " ro.kernel.qemu=1" then click save as and name it local.prop and save it in the /data folder on the phone. DO NOT wipe data after creating this file or it will be deleted. Then re-enable internet connection mode and USB debugging and proceed with the rooting process.
how bout for us guys in test mode?
You could either push it with adb or copy to the external SD with a card reader then use a file browser to copy it into the /data folder.
is this the correct way?
first flash v7 stock..then root..then make a local.prop..save it..use lgnpst to update to zv8??? then I would still be rooted?
wslguy said:
I am seeing a lot of posts with questions about the local.prop file. If any of you are having permission issues enable mass storage mode then open notepad on your computer and type " ro.kernel.qemu=1" then click save as and name it local.prop and save it in the /data folder on the phone. DO NOT wipe data after creating this file or it will be deleted. Then re-enable internet connection mode and USB debugging and proceed with the rooting process.
Click to expand...
Click to collapse
I started a thread earlier today about similar problems. I will try this when I get home tonight and let everyone know the results.
EDIT: Problem with this method is what I mention on my other thread http://forum.xda-developers.com/showthread.php?p=24741989#post24741989
I can't move files into the /data folder because the permission denied error message I get. Oddly enough, I only started getting these weird permission problems after I took the advice from keithmcelhinney (basically saying do the same code but within the terminal emulator.. which I thought I did successfully)
http://forum.xda-developers.com/showthread.php?t=1580571&highlight=ro+kernel+qemu=1
is there a tool or something that can fix permissions without CWM or moving files internally?
If you already have root you can download an app call fileslick to change permissions on the /data folder so you can paste a new local.prop in there. Although I was able to successfully change permissions and copy my local.prop file, I was still unable to get the OTA update to zv8.
Here is a snippet from another post where he is trying to OTA update from vz7 to vz8 while keeping root and reinstalling cwm: http://forum.xda-developers.com/showthread.php?t=1580987
1 - Using LGNPST, push the ZV7 .tot file.
2 - Factory reset, just in case
3 - Using the OLD AIO (Root&RecoveryAIO), root it (option 1 only!).
4 - Use Check Root app to make sure you have root
5 - Use fileslick app to Change folder permissions and move local.prop file app to
- Open fileslick, click actions, and click show root
- Swipe all the way left until you are at root and see /data folder
- Tap the data folder so it has a green check and then hit actions and select "permisions"
- Check everything in that menu (This will make it so you don't has any permission denied menus when moving the local.prop)
- Put the local.prop file from the "data" folder in the ZV7toZV8Root.zip by tapping it in fileslick, navigating back to the "/data" folder you just set permissions for, clicking "actions" and clicking "copy file to this location"
6 - Go to about this phone in the settings app and check for updates to update ZV8
7 - After reboot use ZV8CWMRecovery.bat (option 1) to install clockwork
8 - After reboot go back and use OLD AIO (Root&RecoveryAIO) to reboot to recovery (option 7)
9 - Reboot recovery and wipe data
10 - After wiping data and without exiting CWM, flash BrokenOut.
11 - DON'T WIPE DATA AFTER FLASH

[Q] Nandroid Saving

Hi guys. i would like to know if it is possible to transfer my nandroid backup from TWRP folder to my pc to have more space on my phone.
I tried to copy the folder but not the entire content was moved.
Any suggestion?
J0ker 82 said:
Hi guys. i would like to know if it is possible to transfer my nandroid backup from TWRP folder to my pc to have more space on my phone.
I tried to copy the folder but not the entire content was moved.
Any suggestion?
Click to expand...
Click to collapse
Look in this thread
http://forum.xda-developers.com/showthread.php?t=2173870
J0ker 82 said:
Hi guys. i would like to know if it is possible to transfer my nandroid backup from TWRP folder to my pc to have more space on my phone.
I tried to copy the folder but not the entire content was moved.
Any suggestion?
Click to expand...
Click to collapse
I had same issue, only some of the buckup files copyed and adb pull gave permission denied errors.
With phone connected to pc reboot to recovery, in twrp go to advanced - file manager and select your backup folder /sdcard/TWRP/BACKUPS or /data/media/0/TWRP/BACKUPS - Then select chmod 755.
Now on pc open cmd prompt in your adb folder and adb pull works for me now with no issues - all files copied, takes about 15 mins or so depending on backup size.
pjc21 said:
I had same issue, only some of the buckup files copyed and adb pull gave permission denied errors.
With phone connected to pc reboot to recovery, in twrp go to advanced - file manager and select your backup folder /sdcard/TWRP/BACKUPS or /data/media/0/TWRP/BACKUPS - Then select chmod 755.
Now on pc open cmd prompt in your adb folder and adb pull works for me now with no issues - all files copied, takes about 15 mins or so depending on backup size.
Click to expand...
Click to collapse
Thank you...lol i was able to get into mt folder....but i dont know how to chmod 755.....sorry
Could you link me a guide or something like that step by step?
Thank you anyway
J0ker 82 said:
Thank you...lol i was able to get into mt folder....but i dont know how to chmod 755.....sorry
Could you link me a guide or something like that step by step?
Thank you anyway
Click to expand...
Click to collapse
It's an option you can select in twrp in twrp's file manager after selecting a folder or file.
Advanced - File Manager - browse to folder or files, /sdcard/TWRP/BACKUPS... - Then select the folder or files with "select" tab/button, bottom right of screen. You will then get a list of options including "chmod 755"
After chmod 755 on the backups folder while still in recovery open cmd prompt on pc in your adb folder (where adb.exe is located) and run command "adb pull /sdcard/TWRP/BACKUPS" or your location to twrp backups - All files pulled without issues/errors.
pjc21 said:
it's an option you can select in twrp in twrp's file manager after selecting a folder or file.
Advanced - file manager - browse to folder or files, /sdcard/twrp/backups... - then select the folder or files with "select" tab/button, bottom right of screen. You will then get a list of options including "chmod 755"
after chmod 755 on the backups folder while still in recovery open cmd prompt on pc in your adb folder (where adb.exe is located) and run command "adb pull /sdcard/twrp/backups" or your location to twrp backups - all files pulled without issues/errors.
Click to expand...
Click to collapse
thank you so much.

twrp backup folder ?

i have twrp and cannot find its backup folder using es explorer, but if i go into twrp recovery and plug in
phone, it appears in windows explorer, why is it not seen in es file manager etc, i have show hidden folders
fixed using terminal emulator
su
restorecon -FR /data/media/0

[HOW-TO] Modify system files without root

I was experimenting how to modify system files on a stock system image without installing superuser and thought I'd share what I found:
What you need:
android platform tools (ADB and related files, FASTBOOT)
custom recovery (I used TWRP). You need to be able to gain adb root access, which is not possible using a 'production' image (to quote google's error message when I tried this) which is why you need to have a custom recovery. WARNING!! If you perform an oem unlock of your device to unlock the bootloader, you will be forced to wipe your device, proceed at your own risk! I am not responsible for what you do with your device.
Administrator access on your pc (if using windows)
In my example I was modifying /system/etc/gps.conf to use local time servers for faster GPS lock. To do this I rebooted into my custom recovery, mounted the system partition (rw) and used:
Code:
adb pull /system/etc/gps.conf
I then edited the file locally to use the desired NTP server with notepad++.
following this I used:
Code:
adb push gps.conf /system/etc/gps.conf
At this point I rebooted and used:
Code:
adb shell
to run the cat command on /system/etc/gps.conf and confirm my updates were now visible in the updated gps.conf file.
Hi friend! Can you help me?
C:\adb>adb push gps.conf /system/etc/gps.conf
failed to copy 'gps.conf' to '/system/etc/gps.conf': Read-only file system
reijr said:
Hi friend! Can you help me?
C:\adb>adb push gps.conf /system/etc/gps.conf
failed to copy 'gps.conf' to '/system/etc/gps.conf': Read-only file system
Click to expand...
Click to collapse
In TWRP mount system
I've used this before to change my build.prop
After updating to the latest build on Nexus 5, this no longer works.
I can pull and push the build.prop boot on reboot the original file returns.
Any ideas ?

Categories

Resources