System/etc/host - P8lite Q&A, Help & Troubleshooting

I accidentally delete the "host" file from my system,so does anyone here could upload me that files from system/etc/host..any help would be appreciate and will get some thumb up..

https://www.mediafire.com/file/qdawbwa8na7dt9p/hosts download and put in system/etc give permission 644 in TWRP or just like in screenshot

RootingPro-18 said:
https://www.mediafire.com/file/qdawbwa8na7dt9p/hosts download and put in system/etc give permission 644 in TWRP or just like in screenshot
Click to expand...
Click to collapse
Thanks a bunch man..!

Related

[Q] How can I fix swype resolution on roto jme rom?

It doesn't fit the screen.. Pls help!
Sent from my GT-P1000 using Tapatalk
I bet there's already the solution somewhere on the forum, but Ill try to make it simple for u..
Basically u need to mount the factoryfs.rfs image of the JMK5 fw, on linux u can use the mount command tool, if on windows MagicISO would be the way to go. Once its mounted you need to copy the file Swype.apk from /app and libSwypeCore.so from /lib . Once you have them on ur computer all you have to do is to copy them into the Gtab, Ill post you the procedure step by step
Code:
adb shell
mount -o remount,rw -t rfs /dev/block/stl9 /system
chmod 777 /system/app
chmod 777 /system/lib
cd /system/app
mv Swype.apk Swype.apk.old
cd /system/lib
mv libSwypeCore.so libSwypeCore.so.old
exit
then from ur computer navigate to the folder where u have the files Swype.apk and libSwypeCore.so, then
adb push Swype.apk /system/app/
adb push libSwypeCore.so /system/lib/
adb reboot
Once it reboots you'll have the old nice Swype keyboard in replacement of the new small one...
To make it even easier I am uploading the files needed for the fix right below..
Enjoy ..
Nice! After I flashed Roto jme and discovered the swype issue, I reflashed the stock t-mo tom, grabbed those files, then reflashed Roto jme. Then I pushed those files and had the big keyboard back. Then I saw Mr. Roto made a v3b with the big keyboard! I could have been outside smoking a good cigar waiting for the upgrade!
So go get the v3b upgrade and flash that, unless you are looking for an adventure.
P.S. Reboot a few times if you do the file switching to make the changes take effect.
Well, unless you don't mind reflashing your tab and might lose apps and configurations this will take you few minutes. However I'm glad he has made a pre fixed keyboard version of the JME, defo easy way for everyone.
Sent from my GT-P1000 using XDA App
Segnale007 said:
To make it even easier I am uploading the files needed for the fix right below..
Enjoy ..
Click to expand...
Click to collapse
I suggest you take down those links before you get moderated!
See here.
Regards,
Dave
Segnale, you definitely want to remove those files from here. By the way the whole procedure can be done within the phone :
1. Download the files to your tab (before they are removed , ) using your browser
2. Use Androzip to unzip the files
3. Rename the original files of your tab with RootExplorer (just in case you want to reuse them)
4. Copy the downloaded unzipped files to their respective locations with RootExplorer
5. Reboot the system
P_
Or just flash the latest "update" from Rotohammer as it fixes the issue.
knightnz said:
Or just flash the latest "update" from Rotohammer as it fixes the issue.
Click to expand...
Click to collapse
But brings another one for us European users as his Swype only contains English & Spanish keyboards
Thanks a lot mate you saved my day.

[HOWTO] Dalvik2Cache 90MB extra Space for Apps

found this http://forum.xda-developers.com/showthread.php?t=1174160 here in the forum, but cant get it to work on my neo
after a little seaching i found an other script that seems to work on NEO maybe on ARC too
also install-recovery.sh isnt execute on my neo so i put the call into hw_config.sh and it works fine now
howto.
1. push dalvik2cache /system/bin/dalvik2cache
2. adb shell
3. chmod 755 /system/bin/dalvik2cache
4. echo "/system/bin/dalvik2cache" >> /system/etc/hw_config.sh
5. reboot
btw. you need an inscured adb or an insecure kernel like this -> http://forum.xda-developers.com/showthread.php?t=1197263
if you do that, then at your own risk, do not complain when your phone is broken
hi,
i think it should also work without insecure adb and with stock kernel.
but root is needed...
copy the dalvik2cache file to sdcard first
with rootexplorer copy file to system/bin
set permissions
edit the hw_config.sh with editor (rootexplorer)
works great, thanks!
since my kernel supports init.d binaries/scripts u can actually just push it to /etc/init.d/ OR /system/etc/init.d/
it should work... though u may need to verify permissions... chmod 777 is best bet
DooMLoRD said:
since my kernel supports init.d binaries/scripts u can actually just push it to /etc/init.d/ OR /system/etc/init.d/
it should work... though u may need to verify permissions... chmod 777 is best bet
Click to expand...
Click to collapse
can you please post 1,2,3,4 simple guide to make this work with you fantastic kernel Doomlord?
i really need more space for apps
@inteks: what are the cons of this dalvik2cache? if there are cons
Alejandrissimo said:
@inteks: what are the cons of this dalvik2cache? if there are cons
Click to expand...
Click to collapse
i found out that some apps dont work just after install they need a reboot before they work ?!?!
dont know why!
DooMLoRD said:
since my kernel supports init.d binaries/scripts u can actually just push it to /etc/init.d/ OR /system/etc/init.d/
it should work... though u may need to verify permissions... chmod 777 is best bet
Click to expand...
Click to collapse
i placed a scipt in /etc/init.d/ but it isnt execute on startup ...
ps:
the script is startable and permissons should be ok.
if i place the name of that script (/etc/init.d/start.sh) at the end of hw_config.sh then its executet on startup
Hi friends,
I've been trying to do this but I really don't know how to use adb. I have Android SDK installed on my computer, and fastboot, flash...ect. But every time I type "adb remount" then I get the answer is 'adb' is not found (blah blah blah...).
Plus my phone can't boot to recovery. Anyone please tell me where can I find the instruction how to do it? I really want to have more space for my phone and move all installed apps to sd card (I also have my sd card partitioned with ext3 and fat32).
Many thanks in advance.
Saigonian said:
I've been trying to do this but I really don't know how to use adb.
Click to expand...
Click to collapse
Have a look at first post in this thread - you have to copy two files
Saigonian said:
Plus my phone can't boot to recovery.
Click to expand...
Click to collapse
You will have to unlock your phone first and then, using adb, install a custom kernel by fx. DooMLoRD from the link in my signature.
I dont know how to use cmd, can I use Root Explorer?
Anyway to revert it back? Because few apps are missing after it's done.
inteks said:
found this http://forum.xda-developers.com/showthread.php?t=1174160 here in the forum, but cant get it to work on my neo
after a little seaching i found an other script that seems to work on NEO maybe on ARC too
also install-recovery.sh isnt execute on my neo so i put the call into hw_config.sh and it works fine now
howto.
1. push dalvik2cache /system/bin/dalvik2cache
2. adb shell
3. chmod 755 /system/bin/dalvik2cache
4. echo "/system/bin/dalvik2cache" >> /system/etc/hw_config.sh
5. reboot
btw. you need an inscured adb or an insecure kernel like this -> http://forum.xda-developers.com/showthread.php?t=1197263
if you do that, then at your own risk, do not complain when your phone is broken
Click to expand...
Click to collapse
I'm sorry was that a typo? When your phone gets broken! Or if?
Sent from my LT15i using XDA Premium App
Hi harfot,
Thank you so much! I have it done now! But I wonder why the free space in my phone is now still the same (184MB - Because I only have a few apps installed).
inteks said:
hi,
i think it should also work without insecure adb and with stock kernel.
but root is needed...
copy the dalvik2cache file to sdcard first
with rootexplorer copy file to system/bin
set permissions
edit the hw_config.sh with editor (rootexplorer)
Click to expand...
Click to collapse
hey! This sounds like a best solution if you dont want to unlock the bootloader. But I am not too advanced user yet, could you please explain me this one with more details? actually I only need to know
1). which permissions exactly need to be set and
2). what to write inside the hw_config.sh file
Any help appreciated!
bump! no one has any ideas?
Thanks it's work in arc

[Q] "Application Not Installed " Google Maps v6.2.0

When I try to install this GMaps It always getting "Application not installed" error.I did
1.Backup older Gmaps,Street View then wipe data & Uninstalled both.
2.When I gonna install New GMaps app in the end of installation it show "application not installed"
3.Reboot device & try to install,still getting same result!
What should I do?
Thanks
crazykas said:
When I try to install this GMaps It always getting "Application not installed" error.I did
1.Backup older Gmaps,Street View then wipe data & Uninstalled both.
2.When I gonna install New GMaps app in the end of installation it show "application not installed"
3.Reboot device & try to install,still getting same result!
What should I do?
Thanks
Click to expand...
Click to collapse
Have you tried using adb if not wait for the signed version..
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
Is this code correct
"adb remount
adb push /maps 6.2.0 -mod.apk / system/app"
?
Where should I place the app file?In "platform-tools" folder?
Thank you very much for helping me!
crazykas said:
Is this code correct
"adb remount
adb push /maps 6.2.0 -mod.apk / system/app"
?
Where should I place the app file?In "platform-tools" folder?
Thank you very much for helping me!
Click to expand...
Click to collapse
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
jr_718 said:
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
Click to expand...
Click to collapse
I tried,but remount was not successful.Remount permission faild.Show"ADB remountperation faild".Why is this?I've rooted & s-off my device.Also
"adb shell
$ su"
NOT GIVING # istead of $.
Why is that?Even root explorer,i can't move apps to system/app (even mount as R/W)!Why is that?
crazykas said:
I tried,but remount was not successful.Remount permission faild.Show"ADB remountperation faild".Why is this?I've rooted & s-off my device.Also
"adb shell
$ su"
NOT GIVING # istead of $.
Why is that?Even root explorer,i can't move apps to system/app (even mount as R/W)!Why is that?
Click to expand...
Click to collapse
Hmm.. even root explorer.. that's strange you mean mount R/W to R/O in root explorer..
from my end i first did c:\androidsdk then was able to adb push etc...what i could suggest is wait for the signed version.. am on samsung galaxy t989, am at work, i can't really access nothing right now to check with you...i have my mytouch 4g at home...i know you have root access because you said you were able to backup and uninstall using titanium backup.. so i guess you have root access...but try the mount r/w to r/o and see what happens...
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
jr_718 said:
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
Click to expand...
Click to collapse
jr_718 said:
Hmm.. even root explorer.. that's strange you mean mount R/W to R/O in root explorer..
from my end i first did c:\androidsdk then was able to adb push etc...what i could suggest is wait for the signed version.. am on samsung galaxy t989, am at work, i can't really access nothing right now to check with you...i have my mytouch 4g at home...i know you have root access because you said you were able to backup and uninstall using titanium backup.. so i guess you have root access...but try the mount r/w to r/o and see what happens...
Click to expand...
Click to collapse
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
crazykas said:
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
Click to expand...
Click to collapse
You can make the system r/w.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
i know that's not the exact code but it works just fine for me.
crazykas said:
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
Click to expand...
Click to collapse
Same way you posted...
jr_718 said:
Same way you posted...
Click to expand...
Click to collapse
It only worked one time.After reboot it does not work.By the way,if you can please answer to these questions.These are my last questions
1.When we gonna flash new rom instruction always say do a Nanandroid backup,no.Still im on rooted froyo.So How to do NANANDROID BACKUP?Where is this option?
On bootloader,rom manager or TB?
2.Do I need busybox?What is busybox?
crazykas said:
It only worked one time.After reboot it does not work.By the way,if you can please answer to these questions.These are my last questions
1.When we gonna flash new rom instruction always say do a Nanandroid backup,no.Still im on rooted froyo.So How to do NANANDROID BACKUP?Where is this option?
On bootloader,rom manager or TB?
2.Do I need busybox?What is busybox?
Click to expand...
Click to collapse
1. You can use Rom manager to backup..
http://forum.xda-developers.com/showthread.php?t=1186090
2. Busybox is a great tool for rooted users. It basically give you more linux / Unix based commands that you normally don't have access to. If you Google busybox you can find more info...
jr_718 said:
Same way you posted...
Click to expand...
Click to collapse
jr_718 said:
1. You can use Rom manager to backup..
http://forum.xda-developers.com/showthread.php?t=1186090
2. Busybox is a great tool for rooted users. It basically give you more linux / Unix based commands that you normally don't have access to. If you Google busybox you can find more info...
Click to expand...
Click to collapse
Hey I just found this app from market
market://details?id=com.beansoft.mount_system
It can mount system folder!Now I can copy apps!Yahooooo!Ah!I've set permission to this Gmaps app & rebooted device.But it is still not visible.But it is in system/app folder How I make this visible/install?
TIA

Need System files from Kindle Fire HD 2013 model (no camera)

Hello Everyone. I bricked my device and need the following files to fix that. Please, can someone with a rooted device provide this files?
Thanks much:
/system/framework/services.odex
/system/app/DownloadProvider.apk
/system/app/DownloadProvider.odex
/system/app/DownloadProviderUi.apk
/system/app/DownloadProviderUi.odex
Thanks again
MarcoJoo said:
Hello Everyone. I bricked my device and need the following files to fix that. Please, can someone with a rooted device provide this files?
Thanks much:
/system/framework/services.odex
/system/app/DownloadProvider.apk
/system/app/DownloadProvider.odex
/system/app/DownloadProviderUi.apk
/system/app/DownloadProviderUi.odex
Thanks again
Click to expand...
Click to collapse
hey don't feel bad I need boot img and system img to get my running again....or I just need to pop it in the microwave and call amazon and ask for a new one and start over
My Kindle is alive. If someone need this files too, they can be found in the Update.bin at Amazons website.
@crzyjoker13. Good luck with your device.
Here you go, pulled straight from the latest update...
It's just the files you requested, the file structure should be correct.
crzyjoker13 said:
hey don't feel bad I need boot img and system img to get my running again....or I just need to pop it in the microwave and call amazon and ask for a new one and start over
Click to expand...
Click to collapse
You can get them from Amazon's website. That's your best bet at this time.
really lost
NighthawkXL said:
Here you go, pulled straight from the latest update...
It's just the files you requested, the file structure should be correct.
Click to expand...
Click to collapse
ok this is a start but how do I get them to /system/app
crzyjoker13 said:
ok this is a start but how do I get them to /system/app
Click to expand...
Click to collapse
Your need to get the device to be picked up by ADB and then push the files if your not able to boot into the actual system itself. Your have to ask someone else for the commands... but here's a snippet for services.odex the rest the files should be similar pieces of commands.
Code:
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb reboot
step in the right direction
NighthawkXL said:
Your need to get the device to be picked up by ADB and then push the files if your not able to boot into the actual system itself. Your have to ask someone else for the commands... but here's a snippet for services.odex the rest the files should be similar pieces of commands.
Code:
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb reboot
Click to expand...
Click to collapse
well hey this is a step in the right direction but all I need now Is to gain read write acess to /system and system/app abd I should bea able to push the old files back...my problem lies in the fact that es explorer tried to update and it messed up so I went to remove and just install the new version at the same time I was following the directions to put play market on the dev so now I can download and I have no file explorer
or if anyone know how I can push and execute an apk to the kindle I would be happy
thanks in advance
crzyjoker13 said:
well hey this is a step in the right direction but all I need now Is to gain read write acess to /system and system/app abd I should bea able to push the old files back...my problem lies in the fact that es explorer tried to update and it messed up so I went to remove and just install the new version at the same time I was following the directions to put play market on the dev so now I can download and I have no file explorer
or if anyone know how I can push and execute an apk to the kindle I would be happy
thanks in advance
Click to expand...
Click to collapse
I was having the same problem as you are and was able to fix it by doing the following.
Download and extract the files NighthawkXL has provided.
From within the folder that you saved the files run command and do the following
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb push DownloadProvider.odex /system/framework
adb push DownloadProviderUi.odex /system/framework
exit
adb shell
su
mount -o rw,remount /system
chmod 777 /system/app
exit
exit
adb push DownloadProvider.apk /system/app
adb push DownloadProviderUi.apk /system/app
adb reboot
I think this will solve your problem with the downloads not working. Please keep in mind I have small amount of knowledge when it comes to rooting, but figured that it couldn't do more damage to it since it wasn't working.
LinearEquation said:
You can get them from Amazon's website. That's your best bet at this time.
Click to expand...
Click to collapse
can you provide a link to the system images please
thanks cant seem to find them
davethebrave14 said:
can you provide a link to the system images please
thanks cant seem to find them
Click to expand...
Click to collapse
https://s3.amazonaws.com/kindle-fire-updates/update-kindle-11.3.1.0_user_310084920.bin
Just downloaded .bin gonna check this out also. I didn't brick mine its usable but I screwed it up trying to take things off to get more memory and easier on battery. Runs ok now but I took off the system keyboard thinking the android keyboard file would be it the asop or whatever. So had to add Google keyboard which is better and the main navigation is gone with the back and menu key. ROFL. Using all in one gestures and omega status bar as a rig lmao.
adb install package.apk works fine after adb start-server with linux.
Theres app in 1 mobile market for moving .apk to /system/app folder.

Failed to copy some files

Hi, I have a problem where when I try to copy files to certain directories such as /system/vendor/lib it won't let me copy the files. If you know how to do it then please let me know, can it be done with terminal because I know on Linux sometimes terminal has to be used to copy files. Thanks!
DEVILOPS 007 said:
Hi, I have a problem where when I try to copy files to certain directories such as /system/vendor/lib it won't let me copy the files. If you know how to do it then please let me know, can it be done with terminal because I know on Linux sometimes terminal has to be used to copy files. Thanks!
Click to expand...
Click to collapse
Use a good root file manager like Solid Explorer or Root Explorer. Make sure the file manager has permissions from SU. You may also have to tick "Show root storage" in SE.
Try Solid Explorer... never had that problem.
Use twrp, mount system and use twrp filemanager, set chmod, always working.
coremania said:
Use twrp, mount system and use twrp filemanager, set chmod, always working.
Click to expand...
Click to collapse
set chmod for what? thanks
v12xke said:
Use a good root file manager like Solid Explorer or Root Explorer. Make sure the file manager has permissions from SU. You may also have to tick "Show root storage" in SE.
Click to expand...
Click to collapse
Thanks, it isn't a file explorer as I've tried on many different ones and have mounted r/w
galaxys said:
Try Solid Explorer... never had that problem.
Click to expand...
Click to collapse
I tried that
That might help
DEVILOPS 007 said:
set chmod for what? thanks
Click to expand...
Click to collapse
For the files you copy or replace you have to set the right permissions, btw amaze filemanager works pretty good, if don't want to use twrp, but twrp will always work
coremania said:
For the files you copy or replace you have to set the right permissions, btw amaze filemanager works pretty good, if don't want to use twrp, but twrp will always work
Click to expand...
Click to collapse
Okay thanks, chmod 644 or chmod 755? Thanks
DEVILOPS 007 said:
Okay thanks, chmod 644 or chmod 755? Thanks
Click to expand...
Click to collapse
That depends on the files you like to replace, look at the
files permission before you add or replace it, then you will know

Categories

Resources