Issues with wp mod to disable system write protection - Desire 816 General

I'm a total noob to phone development, so when I read guides about installing the wp_mod, I'm confused. It's the last step to rooting this and getting rid of this crapware, so I really want to get it done. I downloaded the file and I copied it to my SD, downloaded terminal emulator to run the su command, but that's where I get lost. Can anyone sort of walk me through it? Thank you.

undertakerlives said:
I'm a total noob to phone development, so when I read guides about installing the wp_mod, I'm confused. It's the last step to rooting this and getting rid of this crapware, so I really want to get it done. I downloaded the file and I copied it to my SD, downloaded terminal emulator to run the su command, but that's where I get lost. Can anyone sort of walk me through it? Thank you.
Click to expand...
Click to collapse
Try this
KitKat http://forum.xda-developers.com/desire-816/development/mod-enable-init-d-stock-kernel-vm-t2987126
Lollipop http://forum.xda-developers.com/des...-disable-writeprotection-sense-stock-t3091456
I have used both mods and they both work.

Related

[Think Tank] Installing Non-market apps without a custom ROM or ADB

OK, I made a zip. Who wants to be my guinea pig? It's at the bottom of the post. (erase -signed and put it on the internal sd)
blackjackboy said:
I guess my idea would be to take the settings.apk from either the Vibrant dump or cyanogenmod 5.0 and push it to /system/app or wherever the settings.apk is located. Does anyone think that this would work or be willing to try it? I'm just worried that this will brick the touchwiz, and without an "original ROM" or RUU and custom recovery, I'm afraid to try it. Is there anyone braver than me?
Click to expand...
Click to collapse
Did you check this thread?
http://forum.xda-developers.com/showthread.php?t=728121
tbae2 said:
Did you check this thread?
http://forum.xda-developers.com/showthread.php?t=728121
Click to expand...
Click to collapse
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Well, the best thing to do, simply run a sql command along with the rooting update.zip.
I will work on this today and get back to you guys soon.
http://androidforums.com/samsung-ca...e-sideloading-apps-captivate.html#post1178618
Been done.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
It isn't free but it isn't expensive either. You just dropped a large wad of cash for the phone, seems like another $3 to get it the way you want it wouldn't be such a big deal.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
Droid Explorer is.
I'm an android noob but experienced linux user, so I came up with my own free solution: download a terminal emulator app (the one i got was free, and called, simply, Terminal Emulator, I think).
Then (in the terminal emulator):
Copy the settings.db file to the SD card:
To get superuser access so you can get to the settings.db file (need a rooted phone, obv):
Code:
$su
And confirm the popup allowing access.
Code:
#busybox cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
Then hook up your phone via USB (mass storage method) and use your window manager to copy that from the phone to the computer, edit with an SQL database browser, save it, verify it's still good, move it back to the SD card, then, back on the phone in the terminal emulator:
To get superuser access again:
Code:
$su
Shouldn't have to confirm the popup allowing access again, as the first time appears to do it.
Move the original file to a backup name (just to be safe):
Code:
#busybox mv /dbdata/databases/com.android.providers.settings/settings.db /dbdata/databases/com.android.providers.settings/settings.db.old
Copy the new (edited) file into place:
Code:
#busybox cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings/settings.db
Then reboot, and enjoy the ability to install non-market apps. My first install was Flash 10.1. Works fine on the Captivate.
blackjackboy said:
The thing is, root explorer isn't free. I want to give people an easy, free solution (maybe flashing something from recovery?). For now, ADB will work for me, but in the future I want to provide something flashable from recovery.
Click to expand...
Click to collapse
Grab Android Mate from the market, it is free and has root level exploration
blackjackboy said:
OK, I made a zip. Who wants to be my guinea pig? It's at the bottom of the post. (erase -signed and put it on the internal sd)
Click to expand...
Click to collapse
This might also work, I have used it, pretty simple
http://m.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Superoneclickroot has a one click enable non market apps next to the root button, fyi.
terrymc said:
This might also work, I have used it, pretty simple
http://m.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Click to expand...
Click to collapse
Smasher816 said:
Superoneclickroot has a one click enable non market apps next to the root button, fyi.
Click to expand...
Click to collapse
:faceplam:
bump a year old thread? with these no less....
whats wrong with bumping a (insert # here) old thread? it hasnt been closed or deleted. as long as info pertaining to the OP is being posted shouldnt it be a non-issue? now if it was bumped with something like 'why bump this fossil thread?' then that would be a pointless bump. i gained info from the 1 year late post about superoneclick and thanked the guy for posting it.
EDIT: you spelled 'facepalm' wrong.
Well first it shouldn't even be here in development. And second thread closed.

How to confirm I have unrooted?

Okay unfortunately 5 mins after rooting my phone I noticed my replacement Vibrant has a bad screen. I used the one-click program to root, so I did the same thing to unroot. I downloaded ROM Manager after I unrooted to confirm the phone was unrooted and ROM Manager seems to think so (it told me to root my phone).
However, I am wondering if there is any way to *confirm* my phone has been unrooted (i.e. manually look for the root files and make sure they are not there)? I ask because I reset my phone to factory settings after unrooting, but updated.zip and chromemod folder were still present when I looked under files, which sort of scared me into thinking T-Mobile may be able to detect I had rooted.
Thanks for all the help and wish me luck for my *third* Vibrant.
DarkAgent said:
Okay unfortunately 5 mins after rooting my phone I noticed my replacement Vibrant has a bad screen. I used the one-click program to root, so I did the same thing to unroot. I downloaded ROM Manager after I unrooted to confirm the phone was unrooted and ROM Manager seems to think so (it told me to root my phone).
However, I am wondering if there is any way to *confirm* my phone has been unrooted (i.e. manually look for the root files and make sure they are not there)? I ask because I reset my phone to factory settings after unrooting, but updated.zip and chromemod folder were still present when I looked under files, which sort of scared me into thinking T-Mobile may be able to detect I had rooted.
Thanks for all the help and wish me luck for my *third* Vibrant.
Click to expand...
Click to collapse
You can test this to un-root.
https://www.dropbox.com/s/pyg5sypm9qto7rw/Galaxysroot.apk
I wrote it today. with help.
its posted on another thread.
Erm.. couldn't you just download Terminal Emulator (if it already isn't installed) and type in: "su" (without quotations)
zephiK said:
Erm.. couldn't you just download Terminal Emulator (if it already isn't installed) and type in: "su" (without quotations)
Click to expand...
Click to collapse
^^I second this, if you are not rooted, you will get a "su not found" type of error.
Also in this thread http://forum.xda-developers.com/showthread.php?t=728471 you will find
How to unroot
su
rm -r /system/app/Superuser.apk
rm -r /system/xbin/busybox
rm -r /system/bin/su
you could also do it from adb.
rhcp0112345 thanks for the app but I think the su way sounds easier.
Thanks zephiK and d_bot! I did the su thing and got a "su not found" error so I guess I am good.
Lakjin said:
rhcp0112345 thanks for the app but I think the su way sounds easier.
Thanks zephiK and d_bot! I did the su thing and got a "su not found" error so I guess I am good.
Click to expand...
Click to collapse
Yep, no su, no root
New to Andriod, sry for noob question, What are the benefits to Root, What changes on your phone??
30Glock said:
New to Andriod, sry for noob question, What are the benefits to Root, What changes on your phone??
Click to expand...
Click to collapse
Well, I know there will probably be a lot of people freaking out on me, but from how I use my phone the only use I've had so far is using cachemate to clear cache, and possibly modding the look of the os. I personally used to it to remove the annoying tmo boot and shutdown sounds/video.
30Glock said:
New to Andriod, sry for noob question, What are the benefits to Root, What changes on your phone??
Click to expand...
Click to collapse
Welcome to Android 30Glock
the main benefit of rooting is to be able to remove bloat-ware. Bloatware plagues the vibrant. Besides that there are other things you can do like custom roms(not many for the vibrant but they will come), with custom roms comes custom themes, also you can increase you cpu frequency. There are a few awesome apps out there that require root (Titanium Backup).
Basically think of it as you have just been given a new windows machine at work, and the admin gave you User permissions, so yeah you can do some cool stuff, but to really get in and have some fun you need admin permissions. To root/unroot this phone it is jaw dropping easy! Thank you samsung. Thank you DEVS!
Install Root Explorer and try to navigate to your system folder.
Moved to general section.

Still not be able to understand - root step

Guys,
Would you mind to write up a tutorial how you root your DHD ?
I'm a newbie for android and i have no idea.. been trying to read articles and i still cant understand.
I have downloaded the file called dhd_root.zip and now what ?
some people are mentioning about the gscript and blar blar blar.. what is all that about??
i have no idea what to do now... please help..
*please do not flame me for not using the search function as i read few of them and i do not understand at all*
Thanks
I personally used Evostance's guide, it was very simple and easy to follow: http://forum.xda-developers.com/showthread.php?t=834427
That's the link. I do believe there are simpler methods now using Visionary. Just check the Development sub-forum and they have more tutorials there
Sylpher said:
I personally used Evostance's guide, it was very simple and easy to follow: http://forum.xda-developers.com/showthread.php?t=834427
That's the link. I do believe there are simpler methods now using Visionary. Just check the Development sub-forum and they have more tutorials there
Click to expand...
Click to collapse
Hey Sylpher,
I did tried to read Evostance's guide but where is the guide?
Step By Step Guide - Download link below
11/11/10 V2
http://www.multiupload.com/KK66WUNUWS
See the main thread for details on the root:
http://forum.xda-developers.com/showthread.php?t=805327 ----> i do not understand at all... all those code like listed below
Go to adb shell, switch to root (su) and do the following:
insmod /sdcard/wp-(version).ko
for example: insmod /sdcard/wp_g5ed1769.ko
This will disable wp (will be enabled on reboot though...)
dd if=/sdcard/hboot_eng.nb0 of=/dev/block/mmcblk0p18
This will install engineering hboot
totally confused.
The link that he provides includes all the files + the tutorial (in a PDF file). So yeah just download that first and it should be quite straightforward from there on.
Sylpher said:
The link that he provides includes all the files + the tutorial (in a PDF file). So yeah just download that first and it should be quite straightforward from there on.
Click to expand...
Click to collapse
Sylpher,
Thank you so much for the info (The link that he provides includes all the files + the tutorial (in a PDF file).
I have no idea there is a tutorial file inside the zip.
I will give it a go when i got home and then pm you after that.
Thanks again.
No problems
You can try this too, a member here compile it. http://hemorrdroids.net/overclock-undervolt-your-desire-hd/
if you dont already have a file explorer then download astro from market place
download visonary r12 from here and copy apk file to sd card on the phone and install from there
http://android.modaco.com/content/h...722/10-nov-r12-test-visionary-one-click-root/
download superuser from market place and install on the phone
make sure usb debuggging is enabled on the, also unkown sources is allowed phone(settings/applications/development)
run visionary and don not check any of the 3 box on the screen
run temp root and let it finish
then attempt perm root it will ask for super user permission, allow this and the phone should root and reboot
to test it has work down load adfree from market place and see if it runs, if it does you have full root
simples
nmyseteroious said:
You can try this too, a member here compile it. http://hemorrdroids.net/overclock-undervolt-your-desire-hd/
Click to expand...
Click to collapse
that's a really good tutorial. I think i'll follow that one when i decide to root and s-off my DHD.
SupremeBeaver said:
that's a really good tutorial. I think i'll follow that one when i decide to root and s-off my DHD.
Click to expand...
Click to collapse
Although I wouldn't recommend anyone to rush into the act of rooting their device, do bare in mind, that the exploit we are using to obtain root will be patched sooner or later, so whilst thinking about it I would be very wary of applying any future OTA upgrades as so you may find you once more have an unrootable device

VERY very long shot...

Hi all,
Love my HTC Desire so much i bought a Witstech A81E Android 2.2 Tablet. Which is pretty buggy to say the least though on the whole works well.
The one thing that is driving me crazy is a number of apps dont install with the logcat error:
"packagename.apk requires unavailable shared library com.google.android.maps"
Now from what i have read apparently this device does not come with Google Maps API so my question is how do i add it?
Can it be done? Do i need to modify a ROM to do it? can i push it via adb or apk?
A little help would be greatly appreciated.
It would need to have google apps installed to be able to access the libraries. Best bet is to find out if it has been rooted yet and try to install the proprietary applications they can't ship the device with.
appreciate the help mate. i've rooted the device though where can i find google maps api?
the unit already has google maps 5.0 installed but apparently doesnt have the API's.
Any idea what im looking for? will it be an APK or just some files i need to put in a system folder?
i think im over my head
additionally i have searched for any com.google.android.maps related data on my desire and have found the following:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
/etc/permissions/com.google.android.maps.xml
/data/dalvik-cache/[email protected]@[email protected]
could it be as easy as copying this over to my tablet?
Ill try it out tonight.
If the application is installed correctly it should work because the api is stored in the data. Is the application on the tablet installed to the /system/ or /data/ partition. It might be looking for the data in /system/
not sure what you mean about where the application resides? you mean the app i am trying to install? The app i am trying to install is Tasker.
i have been doing some googling and saw someone else have the same problem and he managed to fix it:
When trying to install some apps, I would see this error message in logcat:
requires unavailable shared library com.google.android.maps
I had the Google Maps app installed and working, but that didn’t fix the issue. It turns out, I had to add two other files and restart the phone. I found those files in the google zip from Cyanogenmod. It took a little fiddling, but I was able to use these instructions to remount /system in write mode. First step was to take the following two files from the google apps zip (gapps-hdpi-20101114-signed.zip) and put them onto my sd card.
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Then to load them onto the phone, I opened the terminal emulator and ran:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /mnt/sdcard/com.google.android.maps.xml /system/etc/permissions/
cp /mnt/sdcard/com.google.android.maps.jar /system/framework/
Then after I rebooted the phone, I was able to install apps that depend on Google Maps. I can now check bus and train times, and do all kinds of other cool stuff with maps!
Click to expand...
Click to collapse
i simply used root explorer to copy it across though still not working. surely someone smarter than me can tell me what i am doing wrong.
is copying with root explorer essentially the same as above?
damn i could have sworn someone here would have been switched on enough to help me on this
oh well back to random googling for me.
Well did you try using terminal emulator? And do what he did? B/c that looks like a remount to system to me easy as pie just do what he did you can find the files with root explorer or do it on your pc doesnt really matter. You can Not achieve what he did just using root explorer you need terminal emulator!
Sage said:
damn i could have sworn someone here would have been switched on enough to help me on this
oh well back to random googling for me.
Click to expand...
Click to collapse
I don't know how much it will help (or if its 100 percent true) but I was just told recently that moving a file via root explorer is the same as pushing it via adb.
sent from gv1.5 on g2
^correct
Sent from Enrique Iglesias.
now i am confused. can i use root explorer or not? i used root explorer and then reset the correct permissions on the files though its still not working.
I take it i can get a terminal emulator that runs on the device itself yeah?
Ill try that next.
If that fails i am going to try my first attempt at cooking a ROM
Appreciate all the help!
no more love for Sage?
i dont know why its so hard..
I did try to cook the original ROM though unyaffs couldnt extract the img.
looks like i might have to boot up a Virtual nix box.. damn this is so much harder than it should be.

[Q] Need help rooting Mytouch 4G

I have tried over the last 3 days to perm root my phone I have everything downloaded that the post say and I got the temp root to work fine but when I put the root file on my sdcard and use terminal emulator it keep telling me that it is not found. I have not recieved the OTA update yet but I want my phone perm root I need help bad!!!!! Someone please help me what do I do.......
Let me explain what your post looks like:
"Hi, I read the instructions and don't follow them correctly, please help me to understand what I'm not doing right, but I won't give you any information whatsoever about what I'm trying to do and what response I receive, I'll let you guess that or count on your telepathic abilities and just wait for the answer".
Here's the thread:
http://forum.xda-developers.com/showthread.php?t=858996
Follow the instructions carefully and post the exact step which fails for you. That includes posting the exact command that you attempt and the response that you receive.
mcdwll_mrcs said:
I have tried over the last 3 days to perm root my phone I have everything downloaded that the post say and I got the temp root to work fine but when I put the root file on my sdcard and use terminal emulator it keep telling me that it is not found. I have not recieved the OTA update yet but I want my phone perm root I need help bad!!!!! Someone please help me what do I do.......
Click to expand...
Click to collapse
Yeah in all fairness to the first reply, there really isnt much info to go on to help ya troubleshoot. Tell us which step you are on first. The things that come to mind when you are saying the file is not found is that the root file is not on the root of your sd card or that you didnt punch in the commands correctly in terminal emulator.
mcdwll_mrcs said:
I have tried over the last 3 days to perm root my phone I have everything downloaded that the post say and I got the temp root to work fine but when I put the root file on my sdcard and use terminal emulator it keep telling me that it is not found. I have not recieved the OTA update yet but I want my phone perm root I need help bad!!!!! Someone please help me what do I do.......
Click to expand...
Click to collapse
Here is a good how to video i found on youtube http://www.youtube.com/watch?v=c4B4y0CQUDo that plus the link that Jack_R1 posted you should be able to true permaroot
Just a shot in the dark but are you putting the space in after cd when entering the commands?
su
cd /sdcard/root
If you don't have the space, it will say not found..

Categories

Resources