FORUMS
Remove All Ads from XDA

[GUIDE] How to enter developer mode on 2017 Honda Civic (and now root & install apps)

239 posts
Thanks Meter: 199
 
By codeage, Senior Member on 14th June 2017, 08:27 AM
Post Reply Email Thread
20th June 2017, 10:54 AM |#11  
Junior Member
Thanks Meter: 0
 
More
thanks
nice information
 
 
20th June 2017, 06:21 PM |#12  
Member
Thanks Meter: 2
 
More
Post for OldAmber since his account is new

I was able to establish an adb connection through usb by changing the role to Device. Here's a video just showing it off and a picture just to show I did have shell access.

https://www.youtube.com/watch?v=9nJuMShXW0o

and a pic just show I did have shell access.
http://imgur.com/a/8K8cy

His build number is 1.F186.69
20th June 2017, 09:16 PM |#13  
Junior Member
Thanks Meter: 6
 
More
I tried using the same root method but it looks like our Factory_reset.sh is not located in the same directory, all the files pushed through successfully though.
The Following User Says Thank You to OldAmber For This Useful Post: [ View ] Gift OldAmber Ad-Free
21st June 2017, 08:40 AM |#14  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by OldAmber

I tried using the same root method but it looks like our Factory_reset.sh is not located in the same directory, all the files pushed through successfully though.

can You get and post this file /data/system/whitelist.xml

mayby this method (psneuter): https://forum.xda-developers.com/sho....php?t=2684210 ?
21st June 2017, 01:33 PM |#15  
OP Senior Member
Thanks Meter: 199
 
More
Quote:
Originally Posted by vraj1470

Post for OldAmber since his account is new

I was able to establish an adb connection through usb by changing the role to Device. Here's a video just showing it off and a picture just to show I did have shell access.

https://www.youtube.com/watch?v=9nJuMShXW0o

and a pic just show I did have shell access.
http://imgur.com/a/8K8cy

His build number is 1.F186.69

Glad to know this. I've already tried this but does not work. Maybe I got a bad cable? I will try again later.
21st June 2017, 03:48 PM |#16  
Junior Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by Kurian8

can You get and post this file /data/system/whitelist.xml

mayby this method (psneuter): https://forum.xda-developers.com/sho....php?t=2684210 ?

I tried pulling that file, but it says it does not exist. This might be because I don't have root. And I have not yet tried the psneuter method, but I don't think that would work since I can't install apks as it is.
21st June 2017, 04:39 PM |#17  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by OldAmber

I tried pulling that file, but it says it does not exist. This might be because I don't have root. And I have not yet tried the psneuter method, but I don't think that would work since I can't install apks as it is.

I hope at end of week starting doing own tests. First iI'm going to try psneuter and dortyc0w. To test psneuter You don't need install any apks. Just put file to temp directory /data/local/tmp/, lunch shell (adb shell) and change rights to 777 and next try to execute it.
21st June 2017, 05:20 PM |#18  
Junior Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by Kurian8

I hope at end of week starting doing own tests. First iI'm going to try psneuter and dortyc0w. To test psneuter You don't need install any apks. Just put file to temp directory /data/local/tmp/, lunch shell (adb shell) and change rights to 777 and next try to execute it.

Just tried it out and had no luck. I got the following error
Code:
255|[email protected]:/ $ cd /data/local/tmp
[email protected]:/data/local/tmp $ chmod 777 psneuter
[email protected]:/data/local/tmp $ ./psneuter
Failed to set prot mask (Inappropriate ioctl for device)
21st June 2017, 05:44 PM |#19  
OP Senior Member
Thanks Meter: 199
 
More
There's no file whitelist.xml in /data/system/, but I found another file named packages.xml there. I also found the shell script /system/custom/bin/auto_install.sh references to this xml file so I think it is the correct whitelist file. The file packages.xml is readable by root users only so I can not pull it now.

Click image for larger version

Name:	packages.jpg
Views:	1388
Size:	278.4 KB
ID:	4189236
Click image for larger version

Name:	auto_install.jpg
Views:	1384
Size:	181.9 KB
ID:	4189237

There's no file factory_reset.sh in /system/etc, so I tried to use dirtycow to overwrite another small shell script file /system/bin/mount_debugfs.sh and got the following output:

Code:
$ adb shell '/data/local/tmp/rootme/dirtycow /system/bin/mount_debugfs.sh /data/local/tmp/rootme/factory_reset_mod.sh'
Click image for larger version

Name:	dirtycow.jpg
Views:	1338
Size:	95.1 KB
ID:	4189255

But the file /system/bin/mount_debugfs.sh was not changed after the exploiting. Maybe the dirtycow vulnerability has been patched already in this kernel?
21st June 2017, 08:56 PM |#20  
Junior Member
Thanks Meter: 3
 
More
Very nice another steps ahead

Possible it's syntax mistake? Before second file name You missed trailing / in path
Can You try it again:
Code:
$ adb shell '/data/local/tmp/rootme/dirtycow /system/bin/mount_debugfs.sh /data/local/tmp/rootme/factory_reset_mod.sh'
22nd June 2017, 06:04 AM |#21  
OP Senior Member
Thanks Meter: 199
 
More
Quote:
Originally Posted by Kurian8

Very nice another steps ahead

Possible it's syntax mistake? Before second file name You missed trailing / in path
Can You try it again:

Code:
$ adb shell '/data/local/tmp/rootme/dirtycow /system/bin/mount_debugfs.sh /data/local/tmp/rootme/factory_reset_mod.sh'

Sorry, it's a typo in the post. I have fixed it.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread