adb how to use notepad, please help - General Questions and Answers

Hey Guys, I am totaly new to android(adb), but yet fascinated...I recently downloaded all the files needed for adb, got it working, but I've found that I'm not sure how to use commands...For most, this question may seem very simplistic, but for me, it's not so simple...lol Here is my dilema
adb remount
adb shell rm /system/app/*.odex
adb pull /system/bin/user.conf c:\user.conf
Used Notepad++ to edit and
adb push c:\user.conf /system/bin/user.conf
adb shell chmod 755 /system/bin/user.conf
adb shell reboot
##Optional##
after you get everything setup the way you want it do a backup... I found switchrom.sh to be more dependable than purely nandroid backup.
reboot in recovery
adb shell
/#mount /system/sd
/#sh /system/sd/switchrom.sh -s <name>
To restore it...
reboot in recovery
adb shell
/#mount /system/sd/
/#sh /system/sd/switchrom.sh -r
##select the rom you want to restore##
What is Notepad and how do I use it, is it in adb ?
This is for ZeroXd 6.10 ROM
Thanx in advance for all of those who took time to help a real N00B
G1 Black
MT3G Merlot
Rooted

Related

What Sprint Apps are you tired of removing?

Hey Guys, what sprint apps are you tired of removing? I am going to remove whatever the consensus shows, and upload a flashable zip of dc2.06... nothing else will be different and the only credit I will take is for removing the apps, all else goes to the original people who worked on dc.
So, let me know and I will be removing them!
Flickr
Twitter
NFL
Navigation
TV
Stock
NASCAR
I will keep count of who requests what to be removed in the next post. I'll only wait for bout an hour then remove whatever you guys want removed.
Remove:
03 - NASCAR
01 - Sprint TV
01 - NFL
01 - Peep
01 - IM
NASCAR
please
Normally removed, so all good...
- Nascar
- NFL
- SprintTV
Tired of removing...
- Peep
- IM
Tired of having to add back in...
- Footprints
- Stocks
- Teeter
- Sprint Navigation - it rocks and better than Google Nav in my opinion. Works (and sounds) much more like a Garmin.
Ceger
NASCAR
What a waste of time to uninstall....
S
Ceger said:
Normally removed, so all good...
- Nascar
- NFL
- SprintTV
Tired of removing...
- Peep
- IM
Tired of having to add back in...
- Footprints
Click to expand...
Click to collapse
Agreed with this, but also tired of having to add voice recorder back...not sure why all devs delete it.
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Mail.apk
adb shell rm system/app/htcmailwidgets.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
if you already have adb in your path, just double click this file to run it. If not, place this in the adb tools directory and double click from there.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
Anything else you want to do to crash what I am up to? Thanks kid.
Remove-
- Nascar
- NFL
- SprintTV
- Peep
- IM
Keep in, user optional
- Teeter
- Sprint Navigation
- Ringtone Trimmer
jerry43812 said:
Anything else you want to do to crash what I am up to? Thanks kid.
Click to expand...
Click to collapse
nah dude. Intention was not that. I'm sure you figured out by now that if you were to create a common ROM that with the most unwanted apps removed, it would only consist of the NFL, Nascar, and Navigation wiped. The rest are a toss up for almost all users. It'll be hard for you to please all. So I was just suggesting this, thats all.
Any efforts for help are appreciated. So more power to you.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
Yep, best way to do it, or use Android Commander.
Ceger
jerry43812 said:
Anything else you want to do to crash what I am up to? Thanks kid.
Click to expand...
Click to collapse
He's just giving other options...
And my rom is gonna have that stuff out too, but that doesn't mean you shouldn't make what you're making, because I know a lot of people who DO want a slimmed down version of DC 2.06 and don't know how.
Keep doin it man
jerry43812 said:
Hey Guys, what sprint apps are you tired of removing? I am going to remove whatever the consensus shows, and upload a flashable zip of dc2.06... nothing else will be different and the only credit I will take is for removing the apps, all else goes to the original people who worked on dc.
So, let me know and I will be removing them!
Flickr
Twitter
NFL
Navigation
TV
Stock
NASCAR
I will keep count of who requests what to be removed in the next post. I'll only wait for bout an hour then remove whatever you guys want removed.
Click to expand...
Click to collapse
You can consider adding a poll to this thread. That'll be easy way to see what everyone doesn't want.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
+1. This is what I do.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
jackal, what are the commands to run this file once I've created it?
hoopsdavis said:
jackal, what are the commands to run this file once I've created it?
Click to expand...
Click to collapse
If you put it in the tools folder with adb, just type the name of the file into adb to execute. Or you can just click on the .bat file.
I couldn't get jackals commands to work right so I had to do it a little different.
cd C:\android-sdk-windows\tools
adb remount
adb shell rm system/app/Facebook.apk
adb shell rm system/app/Flickr.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/SocialNetworkProvider.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/Sprint_TV.apk
adb shell rm system/app/Sprint_TVWidget.apk
adb shell rm system/app/Stock.apk
adb shell rm system/app/com.htc.StockWidget.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
Click to expand...
Click to collapse
seyer0686 said:
If you put it in the tools folder with adb, just type the name of the file into adb to execute. Or you can just click on the .bat file.
I couldn't get jackals commands to work right so I had to do it a little different.
Click to expand...
Click to collapse
Thanks, I appreciate it.
I thought you weren't supposed to delete IM.apk because it had some other dependencies throughout some other apps. is this no longer true?
...because I just killed it based on you guys doing it.
Since this thread got jacked, if anyone wants my work you can contact me. Thanks. I am done here.
Don't let these guys get to you. I and others are very interested in what you are doing!!

Safe Apps to Remove - Root Access + custom Recovery Required

I thought I would provide information that I've been compiling and will continue to compile on which apps are safe to remove. I'm going to be testing what other apps can be removed. I suggest pulling your entire app directory before you start removing apps as well as doing a nandroid backup first. I've attached a bat file for windows users.
To mount \system folder:
1. Reboot into recovery mode ( power device down then hold power button + volume -)
2. choose partitions
3. choose mount \system
NOTE: Remove Facebook account from device before remove friendstream widget. Do not remove Friendstream.apk
Code:
adb shell /system/bin/rm /system/app/com.htc.TwitterWidget.*
adb shell /system/bin/rm /system/app/HtcTwitter.*
adb shell /system/bin/rm /system/app/HtcFootprintsWidget.*
adb shell /system/bin/rm /system/app/HtcFootprints.*
adb shell /system/bin/rm /system/app/Stock.*
adb shell /system/bin/rm /system/app/com.htc.StockWidget.*
adb shell /system/bin/rm /system/app/VVM.*
adb shell /system/bin/rm /system/app/Quickoffice.*
adb shell /system/bin/rm /system/app/PDFViewer.*
adb shell /system/bin/rm /system/app/Calculator.*
adb shell /system/bin/rm /system/app/Mail.*
adb shell /system/bin/rm /system/app/htcmailwidgets.*
adb shell /system/bin/rm /system/app/htcmsgwidgets.*
adb shell /system/bin/rm /system/app/HtcRingtoneTrimmer.*
adb shell /system/bin/rm /system/app/Flickr.*
adb shell /system/bin/rm /system/app/CityID.*
adb shell /system/bin/rm /system/app/com.htc.FriendStreamWidget.*
I updated this post with the recovery directory. Just unzip to root of C: drive and run the bat file and it should push all the removed apps back to your device. You must be in recovery mode to do this and you must mount \system directory as well.
Change log
removal_V2.zip
-removed the removal of frienstream.apk
Restore_V2.zip
-First Restore batch file was incorrect. If you downloaded restore_v1 replace with restore_V2
Very nice, just what I've been waiting for.
Thanks!
Talking from previous experience I wouldnt just remove the apps unless you first have a backup to restore from. It is safer to just mv example.apk example.apkback then to rm the apk.
Also when removing VVM.apk I saw on Killa200 that it did something with the sms apk.
Here is killa200's findings so far.
http://bluraynetworks.com/android/
zerf said:
Talking from previous experience I wouldnt just remove the apps unless you first have a backup to restore from. It is safer to just mv example.apk example.apkback then to rm the apk.
Also when removing VVM.apk I saw on Killa200 that it did something with the sms apk.
Here is killa200's findings so far.
http://bluraynetworks.com/android/
Click to expand...
Click to collapse
I 100% agree. Although i was never able to get the mv to work so i just pulled all apps to my desktop and then i push them back if i need to restore them.
Worked great Thanks. I just edited the file for the ones I wanted to keep and then ran the .bat while in recovery.
zerf said:
Here is killa200's findings so far.
http://bluraynetworks.com/android/
Click to expand...
Click to collapse
Excellent list as well. I'm not sure about VVM.apk. I removed it and i still have the htc messaging app. I don't use that message app but its still there and opens just fine.
Bxsteez said:
I thought I would provide information that I've been compiling and will continue to compile on which apps are safe to remove. I'm going to be testing what other apps can be removed. I suggest pulling your entire app directory before you start removing apps as well as doing a nandroid backup first. I've attached a bat file for windows users.
NOTE: Remove Facebook account from device before remove friendstream.
Code:
adb shell /system/bin/rm /system/app/com.htc.TwitterWidget.*
adb shell /system/bin/rm /system/app/HtcTwitter.*
adb shell /system/bin/rm /system/app/HtcFootprintsWidget.*
adb shell /system/bin/rm /system/app/HtcFootprints.*
adb shell /system/bin/rm /system/app/Stock.*
adb shell /system/bin/rm /system/app/com.htc.StockWidget.*
adb shell /system/bin/rm /system/app/VVM.*
adb shell /system/bin/rm /system/app/Quickoffice.*
adb shell /system/bin/rm /system/app/PDFViewer.*
adb shell /system/bin/rm /system/app/Calculator.*
adb shell /system/bin/rm /system/app/Mail.*
adb shell /system/bin/rm /system/app/htcmailwidgets.*
adb shell /system/bin/rm /system/app/htcmsgwidgets.*
adb shell /system/bin/rm /system/app/HtcRingtoneTrimmer.*
adb shell /system/bin/rm /system/app/Flickr.*
adb shell /system/bin/rm /system/app/CityID.*
adb shell /system/bin/rm /system/app/FriendStream.*
adb shell /system/bin/rm /system/app/com.htc.FriendStreamWidget.*
I updated this post with the recovery directory. Just unzip to root of C: drive and run the bat file and it should push all the removed apps back to your device. You must be in recovery mode to do this and you must mount \system directory as well.
Click to expand...
Click to collapse
For us noobs, what is the command to mount the /system directory?
you mount it with the recovery on the phone.. click partitions on the custom recovery
WhammyDroid said:
For us noobs, what is the command to mount the /system directory?
Click to expand...
Click to collapse
yojoe600 said:
you mount it with the recovery on the phone.. click partitions on the custom recovery
Click to expand...
Click to collapse
Added mounting information to first post. I'm a NOOB to android as well
I noticed i kept seeing the syncing notification even though nothing was actually syncing so i pushed friendstream(See recovery.bat) back onto the device and that seemed to fix it.
I also removed the Teeter game without any issues using the following:
/system/bin/rm /system/app/teeter.*
Is it just me or is the
adb shell /system/bin/rm /system/app/VVM.*
not working?
No such file or directory everytime =/ and the icon is still on my phone...also want to remove the messaging application. I don't even use messaging
Thanks man i removed a couple apps that bothered me.
Sent from my Droid Incredible
0mie said:
Is it just me or is the
adb shell /system/bin/rm /system/app/VVM.*
not working?
No such file or directory everytime =/ and the icon is still on my phone...also want to remove the messaging application. I don't even use messaging
Click to expand...
Click to collapse
I do not think you can remove the text messaging app. I'm not sure else besides never being able to text will happen. the VVM should remove just fine. Do an " cd /system/app" and then an "ls " and make sure its present. Also son't forget to mount /system
.
havent used it but may later thanks
Can I delete files in the Backup folder of the Restore and then run restore so it will just put back the apps that i want?
GooTz66 said:
Can I delete files in the Backup folder of the Restore and then run restore so it will just put back the apps that i want?
Click to expand...
Click to collapse
sure. It will just error when it hits the push command for that file. What i would recommend is to delete the commands from restore.bat that restore the programs you don't want to restore. Then you will have the backups on ur computer just in case u ever decide to remove them.
Bxsteez said:
sure. It will just error when it hits the push command for that file. What i would recommend is to delete the commands from restore.bat that restore the programs you don't want to restore. Then you will have the backups on ur computer just in case u ever decide to remove them.
Click to expand...
Click to collapse
Awesome. Thanks!
Question regarding FB/FriendStream. So if I remove my FB for HTC Sense then delete FriendStream and re-add my FB account will it work normally or will it still hangup when it trys to sync.
GooTz66 said:
Question regarding FB/FriendStream. So if I remove my FB for HTC Sense then delete FriendStream and re-add my FB account will it work normally or will it still hangup when it trys to sync.
Click to expand...
Click to collapse
Actually you have to keep the friendstream.apk. I didn't have sync issues but i did have a sync icon preset all the time. Others have reported sync issues.

[How to] [Linux] Root Hboot 2.02

For anyone having issues with running this in linux.
I used zikronix guide and modified it for use in a linux support thread. The original thread can be found here:
http://forum.xda-developers.com/showthread.php?t=829045
This is my setup:
-I made sure to show my .bashrc profile and path to my tools folder if you needed help getting that setup as well... If not please ignore.
Code:
[email protected]:~$ cat .bashrc | grep adb
alias start-adb='sudo /usr/local/android-sdk/tools/./adb start-server'
alias kill-adb='sudo /usr/local/android-sdk/tools/./adb kill-server'
[email protected]:~$ cat .bashrc | grep android-sdk
export PATH="/usr/local/android-sdk/tools/:${PATH}"
[email protected]:~$ $PATH
bash: /usr/local/android-sdk/tools/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
Download: http://www.wackynoodle.com/hboot202-s_off-V6.2.zip
Download (Mirror): http://sdx-downloads.com/EVO/devs/jerdog/fixes/hboot202-s_off-V6.2.zip
Now This might make things easier.
-I have this so that you are in the same enviroment that i was in so that the paths will be the same.
Code:
wget http://www.wackynoodle.com/hboot202-s_off-V6.2.zip
mkdir Evo-root
mv hboot202-s_off-V6.2.zip
cd Evo-root
unzip hboot202-s_off-V6.2.zip
- This step I just made sure that adb devices showed my device. If not get it working.
- Once adb devices showed my device properly, I simply ran the following commands.
Code:
adb push root/unrevoked-forever.zip /sdcard/
adb push root/mtd-eng.img /sdcard/
adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip
adb push root/flash_image /data/local/
adb push root/rageagainstthecage /data/local/tmp
adb push root/amon_ra.img /sdcard/
- Then this is just changing permissions. Pretty straight forward.
Code:
adb shell
chmod 0755 /data/local/tmp/rageagainstthecage
chmod 0755 /data/local/flash_image
- Running the script. Should kick you out of adb... If not after 5 min kill the adb server and restart.
Code:
adb shell
./data/local/tmp/rageagainstthecage
- Now you should see a "#", if you do proceed. If not then run the script above again till it works.
Code:
adb shell
- If you saw that "#" run this. This can only be ran as root "#" means root.
Code:
./data/local/flash_image misc /sdcard/mtd-eng.img
Now you are going to want to reboot into the bootloader. Make sure once you do that you selet bootloader and let the PC36IMG.zip load.
Code:
reboot bootloader
After that is done reboot into the new rooted rom. Then make sure adb works again. Then run the following commands. Make sure you terminal is in the same directory this entire time there is no reason to leave the direcory we went into earlier "cd Evo-root" You directory should always be Evo-root. Thanks. The part that I found out was the second command where the entire recovery/ needed the permissions changed to be executable. As you saw in my post on that forum board.
- This will remove the PC36IMG.zip to a different name so that the bootloader won't get confused again. Then the second commands makes the directory executable recursivly. Then the third will reboot you into recovery.
Code:
adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-ENG.zip
chmod -R +x recovery/
adb reboot recovery
- Now this is going to be done at the recovery screen. As long as you followed the steps above it will work fine. Should only take you about 20 mins to root this phone. Though it took me about 2 hours since no one else has been rooting using linux. I am thinking about writing a script that will root everything and alls you have to do is follow a terminal guide.... But ill see.
- Just run these commands that will allow you to flash the unrevoked-forever.zip. Once you follow the onscreen instructions of the unrevoked-forever.zip you will be able to reboot into the recovery and see the S-Off. Once that is done reboot into the rom, now we need to flash a custom recovery!
Code:
adb push recovery /
adb shell busybox --install /sbin
adb shell nohup /sbin/recovery &
- Again make sure your terminal was never closed and in the same folder. Then simply run these commands to flash the Amon_ra recovery. Since it has wimax capabilities I prefer it.
Code:
adb push root/flash_image /data/local/
adb shell
chmod 0755 /data/local/flash_image
./data/local/flash_image recovery /sdcard/amon_ra.img
reboot recovery
Now you should see the custom recovery and you should be able to flash any rom you desire!
reserved for later use
i see that they are same commands as the pc.., so would this also work with PC?
nickespi said:
i see that they are same commands as the pc.., so would this also work with PC?
Click to expand...
Click to collapse
I am guessing your talking about windows? Sure make sure adb is in your path. Though there are steps in here that are only for linux.
95% success
Well I want to thank you for this thread
It has worked for me I have root I have NAND unlocked
I can flash ROMs
The only issue I have is my radio/baseband and PRI version have been lowered
I have not been able to get thise back where they whould with either update or by using teh wimax.ADDRESS.tree.xml fix (there is no file with that)
If you have any ideas how to fix this would be much appreciated
I am unable to get higher tahn baseband 1.36.00.04.02 in ant rom
when I got teh phone it was 2.15.00.xx.xx
any help would be appreciated
100% Success
THANK YOU
My Evo
Hardware 004
Build 3.30
Hboot 2.02
Baseband 2.15.xx.xx
is now sucessfully rooted.
I did have some problems after being able to flash ROMs of not haveing PRI and Baseband updated.
On thread #787756 there are downloads that can be flashed to fix this problem if anyone else is in that boat.
zikronix sent me there for the fix...I believe he is adding it to the main thread but if it isn't there yet I wanted to add it now for anyone in my boat.
Again this method works and there is success.
Happy rooting
Hey thanx for this Linux guide. Does this steps work with the update 12.25.10 on the windows thread?
Will you update this guide?

Missing something?

Im a seasoned flasher. When I originally flashed my G2x I read the entire wiki for CM on my device (http://wiki.cyanogenmod.com/wiki/LG_G2x:_Full_Update_Guide).
Anymore when I see people asking for howtos and guides to flashing their phone, members often reply a short set of steps...more or less
Flash CWM
Backup stock image
Download ROM
Boot into CMW recovery
Wipe
Flash zip
When I did it, i was using ADB to manually push downloaded files (su, psneuter, busybox) and set permissions as instructed by the wiki
Code:
adb push busybox /data/local/
adb push psneuter /data/local/
adb push su /data/local/
adb shell chmod 777 /data/local/busybox
adb shell chmod 777 /data/local/psneuter
adb shell
/data/local/psneuter
adb shell
mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system
mkdir /system/xbin
/data/local/busybox cp /data/local/su /system/xbin/su
chown 0:0 /system/xbin/su
chmod 6755 /system/xbin/su
ln -s /system/xbin/su /system/bin/su
exit
adb push Superuser.apk /system/app/Superuser.apk
Etc etc...and quite a bit more.
Have i missed something?
Has the flashing process evolved to the point were these steps are no longer needed?
If so, why is the wiki not updated?
More importantly, if not, why are the steps as outlined on the wiki not being included as direction, or more simply, why is not the wiki referenced when people ask for directions?
Any benefit or drawbacks to one method over the other?
Im just asking out of curiosity. Thanks in advance.
I haven't a clue as to why the wiki even has those directions cause if you, say have a bad download, flash a rom get into a boot loop you will need then go back and flash CWM through NVflash as there will be no way to access recovery except through adb probably... So just ignore the wiki page, like I said I wonder why they have it like it that, maybe I'm not seeing something but that way just seems pointless and too much work lol...
Yeah... just read the sticky guide on these forums.
Looks like the steps you have are for rooting your device. The beauty of this device is that it ships with an unlocked bootloader and doesn't need to be rooted in order to flash a custom recovery image and start flashing ROMs. The only way I would think the long method should be used is if you really needed root before flashing new ROMs, such as to backup your apps from your stock ROM with Titanium Backup or a similar situation. But, in terms of just getting to the point of flashing ROMs, there is no reason to root this device.
As well, when I got mine the wiki said to flash CWM via ROM Manager, which is not the way to do it.
you are leaving /system as read write. Should return it to read.
mount -o remount,r -t ext3 /dev/block/mmcblk0p25 /system

[GUIDE] Asus fonepad 7 k012 - extSDCard write fix & hosts tweak - NO rooting

I wanna post this guide cuz i searched around and couldnt find any method for kitkat and lollipop, get full sd card write WITHOUT permanent ROOTING.
Some may say: just root, make changes with root file manager, and unroot from superSU. BUT, for this device, from what i experienced, the option for full uninstall/complete unroot, in superSU app, will just hang and do nothing .
I use IntelAndroid-FBRL 05-16-2015 Public Trail Release, made by @social-design-concepts - a really big thanks :good:.
http://forum.xda-developers.com/showpost.php?p=60770086&postcount=352
The tweaks may work on other intel based devices, when temporary CWM recovery is triggered.
Reboot tablet in fastboot/droidboot mode - vol+ and power until asus logo apears.
Install intel android drivers - there are over 8mb limit of .7z files, so i cant add them here, just search intelandroiddrvsetup1.1.5.zip.
Connect tablet to pc with usb cable.
Unzip IntelAndroid-FBRL-05-16-2015-PTR.7z from @social-design-concepts and enter launcher.bat
type ACCEPT after reading the warning
Now:
- chose T2 if u are using Kitkat
- chose T4 if u are using Lollipop
Tablet reboots and after some screen artefacts (is normal) you are in temporary CWM recovery, which has a temporary root adb shell.
Keep tablet connected to pc.
Now download ADBfolder.7z, decompress it, and open inside a command prompt/window.
In this window insert commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell mv /system/etc/hosts /system/etc/hosts.bak
adb push hosts /system/etc/hosts
adb shell chmod 0644 /system/etc/hosts
adb shell mv /system/etc/permissions/platform.xml /system/etc/permissions/platform.xml.bak
adb push platform.xml /system/etc/permissions/platform.xml
adb shell chmod 0644 /system/etc/permissions/platform.xml
adb shell reboot
The tweaks remain even after factory reset.
For removing the tweaks, in case of installing oficial updates through OTA or manual, trigger again temporary CWM recovery, enter ADB folder, open command window and use these commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell rm /system/etc/hosts
adb shell mv /system/etc/hosts.bak /system/etc/hosts
adb shell rm /system/etc/permissions/platform.xml
adb shell mv /system/etc/permissions/platform.xml.bak /system/etc/permissions/platform.xml
adb shell reboot
It can be done, for lazy ones , with pasting these commands in two .bat files (one for install, other for remove), but I wanted ppl to see what is actually happening.
You can use another hosts file, but keep in mind the /system has limited space, so large ones may not fit.
b0by said:
I wanna post this guide cuz i searched around and couldnt find any method for kitkat and lollipop, get full sd card write WITHOUT permanent ROOTING.
Some may say: just root, make changes with root file manager, and unroot from superSU. BUT, for this device, from what i experienced, the option for full uninstall/complete unroot, in superSU app, will just hang and do nothing .
I use IntelAndroid-FBRL 05-16-2015 Public Trail Release, made by @social-design-concepts - a really big thanks :good:.
http://forum.xda-developers.com/showpost.php?p=60770086&postcount=352
The tweaks may work on other intel based devices, when temporary CWM recovery is triggered.
Reboot tablet in fastboot/droidboot mode - vol+ and power until asus logo apears.
Install intel android drivers - there are over 8mb limit of .7z files, so i cant add them here, just search intelandroiddrvsetup1.1.5.zip.
Connect tablet to pc with usb cable.
Unzip IntelAndroid-FBRL-05-16-2015-PTR.7z from @social-design-concepts and enter launcher.bat
type ACCEPT after reading the warning
Now:
- chose T2 if u are using Kitkat
- chose T4 if u are using Lollipop
Tablet reboots and after some screen artefacts (is normal) you are in temporary CWM recovery, which has a temporary root adb shell.
Keep tablet connected to pc.
Now download ADBfolder.7z, decompress it, and open inside a command prompt/window.
In this window insert commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell mv /system/etc/hosts /system/etc/hosts.bak
adb push hosts /system/etc/hosts
adb shell chmod 0644 /system/etc/hosts
adb shell mv /system/etc/permissions/platform.xml /system/etc/permissions/platform.xml.bak
adb push platform.xml /system/etc/permissions/platform.xml
adb shell chmod 0644 /system/etc/permissions/platform.xml
adb shell reboot
The tweaks remain even after factory reset.
For removing the tweaks, in case of installing oficial updates through OTA or manual, trigger again temporary CWM recovery, enter ADB folder, open command window and use these commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell rm /system/etc/hosts
adb shell mv /system/etc/hosts.bak /system/etc/hosts
adb shell rm /system/etc/permissions/platform.xml
adb shell mv /system/etc/permissions/platform.xml.bak /system/etc/permissions/platform.xml
adb shell reboot
It can be done, for lazy ones , with pasting these commands in two .bat files (one for install, other for remove), but I wanted ppl to see what is actually happening.
You can use another hosts file, but keep in mind the /system has limited space, so large ones may not fit.
Click to expand...
Click to collapse
where can i get this ADBfolder.7z?

Categories

Resources