Since installing Raidroid 1.1 I had the concern of an extremely LOUD boot sound.
I decided to find out how to turn it off and let everybody know how.
It turned out to be much simpler than I thought. The method, I believe, will work with all ROMs.
There is a file in /system/media/bootscreen called boot_animation.xml - this contains the script that runs on startup.
First you need to copy that file off your phone for editing. Use any method you wish, I used adb
adb pull /system/media/bootscreen/boot_animation.xml boot_animation.xml
Now, in your current folder, you will have a copy of that file. You can edit it in notepad.
Here is mine:
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright © 2008 HTC Inc.
*
-->
<!-- For new bootup animation
<BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
audio="/system/media/bootscreen/boot.mp3"
screenX="100" (optional)
screenY="130" (optional)
useAudio="0" // 1: true ; 0:false (optional)
/>
</BootConfiguration>
-->
<!-- For cropped version -->
<BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
audio="/system/media/bootscreen/boot.mp3"
screenX="40"
screenY="0"
useAudio="0"
/>
</BootConfiguration>
<!-- For full screen version -->
<!--BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
loopimage="/system/media/bootscreen/boot.gif"
audio="/system/media/bootscreen/boot.mp3"
useAudio="0"
/>
</BootConfiguration-->
Click to expand...
Click to collapse
You will see, I've highlighted the changes I made in bold.
I've disabled the audio completely but I could, for example, change the image or audio to anything I wanted. If you choose to change the image or sound file, be careful. This script runs at startup and I'm guessing that if you configure it wrongly that you may not be able to boot the phone.
Once your phone is edited, you now need to upload the amended file back to the phone. Again, I used adb. (thanks DarthOps for the remount help)
adb remount
adb push boot_animation.xml /system/media/bootscreen/boot_animation.xml
All done, now reboot your phone to test.
Thanks for sharing..works for me..
It looks like there is a universal registry tool somewhere on either the phone or available during update. I extracted this from my logs during the Mango Update:
Code:
**** Starting Registry Update @ 16:47:36 ****
Checking to see if shadow order changed.
Checking to see if any reg files changed.
Shadow order has changed, Registry files have changed. Registry update required.
building new ROM hives
succeeded
copying default.hv (simulation)
copying user.hv (simulation)
copying default.hv
copying user.hv
completed ROM hive file update
importing RAM hive changes
exporting/reimporting RAM hive changes to maintain key enumeration order
RegUpdate succeeded
Update Application - Completed Registry Update @ 16:47:55
I have yet to extract a rom successfully with a full file structure. If someone could prodive me with one or instructions on how to do it I could find out more. I have a feeling we have more access to the phone when you start the phone in update mode by holding down volume down, camera, power. But that is just a thought.
nice try...!!
Well it looks like the *.hv files are the registry files. I just need to get a rom dump from my dell venue pro. I still can't figure out how.
Ok, How would I get a cab file with a provxml file containing
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\DeviceReg\Install">
<parm name="MaxUnsignedApp" value="2147483647" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
sorta like the one attached. The one attached is supposed to allow you to upgrade to mango (dont try it). If we can inject that code there we could inject any registry update we wanted.
MJCS said:
Ok, How would I get a cab file with a provxml file containing
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\Microsoft\DeviceReg\Install">
<parm name="MaxUnsignedApp" value="2147483647" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
sorta like the one attached. The one attached is supposed to allow you to upgrade to mango (dont try it). If we can inject that code there we could inject any registry update we wanted.
Click to expand...
Click to collapse
PM xboxmod
may be able to help
Well I pm'ed him...anyone else know how to. I think this could really work. I might also be able to fix the DVP's missing compass driver by adding it to a cab and using a file copy command!
Please keep trying, but as an expectations-management step, I have to tell you: The phone probably requires that update/install packages (orther than XAPs) be signed. This can be worked around on HTC phones because the bootloaders are (or until recently, were) unlocked, but LG/Samsung/Dell don't seem to have this advantage and will only load signed images.
That said, it's possible this installer avenue doesn't have that protection. Good luck!
Yeah I was afraid of that...A certificate chain could not be built to a trusted root authority
[Q] 816-dual- Rooted - tried "wp_mod: disable system write protection "- corrupted OS
Hello Team, I am a Android Newbee... my first device is HTC816 dual....
1) I have Rooted the device and succeed
2) still, the profile.xml was giving issue not letting the apps to write to external SD
3) found out about the HTC system protection.....
so as per the threads " KERNEL MODULE] wp_mod: disable system write protection by flar2 for 816 "
I downloaded and updated the kernel.... succeed in disabling the system write protection....
but the patient 816 started side effects......
after that, my phone started weir-ding.....
1) none of the application is working.....
2) internet is not connecting
3) sd cards not detecting...
4)errors like below repeating.....
""""""""""""" youtube has stopped
com.google.process.gapps has stopped
com.android.phone has stopped send report to HTC.com """"""""""""""""
so How much damage am i looking at ????
any one any suggestions ????
getting a stock ROM and flashing will resolve the issue ?
any other options ( i cannot claim warranty )
HTC 816 dual ::::
Android -ver 4.4.2 htc sense 6 sftwar - 1.25.720.1 , 6.21 htc sdk api
baseband 1.31.50.0503 built 1.25.720.1.CL334435
@SivasankarC Factory reset your cell bro...
jithumon said:
@SivasankarC Factory reset your cell bro...
Click to expand...
Click to collapse
hey Jithu, yes i did try factory reset also... still the issue Continues....
the SDcard is not mounting UP..... and same above errors....
I cannot even, do the initial registration steps.... after factory reset....
jithu ,
it will be really helpful,
please uploaded the CWM backup of your HTC desire 816 dual....
our devices are similar regional devices.... so it should resolve my issues....
SivasankarC said:
jithu ,
it will be really helpful,
please uploaded the CWM backup of your HTC desire 816 dual....
our devices are similar regional devices.... so it should resolve my issues....
Click to expand...
Click to collapse
I'll upload it till 2moro afternoon.
Please wait till then.
I know your problem dude.... Please give me some time.
I totally appreciate jithu...... thanks so much... looking forward.....
SivasankarC said:
I totally appreciate jithu...... thanks so much... looking forward.....
Click to expand...
Click to collapse
Twrp backup done... Will upload from office tomorrow.
jithumon said:
Twrp backup done... Will upload from office tomorrow.
Click to expand...
Click to collapse
thank you !! please attach the twrp app too....
SivasankarC said:
thank you !! please attach the twrp app too....
Click to expand...
Click to collapse
Flash from here
http://forum.xda-developers.com/showthread.php?t=2782543
jithumon said:
Flash from here
http://forum.xda-developers.com/showthread.php?t=2782543
Click to expand...
Click to collapse
YOU the MAN.. dude...
SivasankarC said:
YOU the MAN.. dude...
Click to expand...
Click to collapse
[emoji6]
SivasankarC said:
jithu ,
it will be really helpful,
please uploaded the CWM backup of your HTC desire 816 dual....
our devices are similar regional devices.... so it should resolve my issues....
Click to expand...
Click to collapse
Done bro.
Instruction are in below link.
http://forum.xda-developers.com/desire-816/general/rombackup-t2811252/post54042669
jithumon said:
Done bro.
Instruction are in below link.
http://forum.xda-developers.com/desire-816/general/rombackup-t2811252/post54042669
Click to expand...
Click to collapse
Jithu, Excelent.................
It worked !!!!!!!!!!!!!!!!!!!
Thank you so much Bro..................
My mobile is back to Good Condish........... 1000Likes & Thanks for you !!
SivasankarC said:
Jithu, Excelent.................
It worked !!!!!!!!!!!!!!!!!!!
Thank you so much Bro..................
My mobile is back to Good Condish........... 1000Likes & Thanks for you !!
Click to expand...
Click to collapse
Thanks bro....
Always happy to help
jithumon said:
Thanks bro....
Always happy to help
Click to expand...
Click to collapse
Jithu, How to modify the permission.xml file ?????? overcoming the System write protection ?????
that will be my next activity !!!
SivasankarC said:
Jithu, How to modify the permission.xml file ?????? overcoming the System write protection ?????
that will be my next activity !!!
Click to expand...
Click to collapse
You don't need to edit xml file.
Follow the instruction in the below thread to get system write access
http://forum.xda-developers.com/showthread.php?t=2707378
Please do a backup before this.
To get a permanent access, do the below steps(not mine - from m8 forum)
1 install TWRP
2 Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh*
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
Do step by step very carefully. If missed one, you'll have to restore backup again.
jithumon said:
You don't need to edit xml file.
Follow the instruction in the below thread to get system write access
http://forum.xda-developers.com/showthread.php?t=2707378
Please do a backup before this.
To get a permanent access, do the below steps(not mine - from m8 forum)
1 install TWRP
2 Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh*
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
Do step by step very carefully. If missed one, you'll have to restore backup again.
Click to expand...
Click to collapse
Jithu my frnd..... Because of this module I bricked my phone.......... i did do all the steps in it... still it crippled the phone....
here is the workaround i Did yesterday.....
1) I made a copy of platform.xml in my sd card
2) edited the card using note++ in my pc like below...
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
<group gid="media_rw" />
</permission>
3) copied the modifed file again to sd card
4) rebooted the mobile to twrp recovery
5) using mount option mounted system & sd card
6) using advanced option, renamed the original platform.xml to platform.xml.org
7)copied the platform.xml from sdcard to system location
8) using chmod i changed the permission to 644 ( check the owner information too )
9) reboot the mobile...
10) Now I can see my applications are not annoying about the write permission on the internal mem...
How is it ????? :good::good::good::good::good::good:
SivasankarC said:
Jithu my frnd..... Because of this module I bricked my phone.......... i did do all the steps in it... still it crippled the phone....
here is the workaround i Did yesterday.....
1) I made a copy of platform.xml in my sd card
2) edited the card using note++ in my pc like below...
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
<group gid="media_rw" />
</permission>
3) copied the modifed file again to sd card
4) rebooted the mobile to twrp recovery
5) using mount option mounted system & sd card
6) using advanced option, renamed the original platform.xml to platform.xml.org
7)copied the platform.xml from sdcard to system location
8) using chmod i changed the permission to 644 ( check the owner information too )
9) reboot the mobile...
10) Now I can see my applications are not annoying about the write permission on the internal mem...
How is it ????? :good::good::good::good::good::good:
Click to expand...
Click to collapse
You would have missed something in wp_mod.ko tutorial. 1st time, problem happened with me also. I missed a step & cell got acting wierd, I did a factory reset & did it again.This time, I suceed.
Now no problem with writing in SDcard.
& Your platform.xml work is great. Post a thread with this tutorial.
jithumon said:
You would have missed something in wp_mod.ko tutorial. 1st time, problem happened with me also. I missed a step & cell got acting wierd, I did a factory reset & did it again.This time, I suceed.
Now no problem with writing in SDcard.
& Your platform.xml work is great. Post a thread with this tutorial.
Click to expand...
Click to collapse
done Bro....... http://forum.xda-developers.com/desire-816/general/htc-816-how-to-modify-platform-xml-file-t2812543
SivasankarC said:
done Bro....... http://forum.xda-developers.com/desire-816/general/htc-816-how-to-modify-platform-xml-file-t2812543
Click to expand...
Click to collapse
Great :highfive:
Hey guys, I have already build success from source code .
1.repo init ...
2. repo sync
3. source build/envsetup.sh
4.breakfast hammerhead //download kernel and device git repositories .
5.brunch hammerhead
and already make a zip named : **lineage-14.1-20170221-UNOFFICIAL-hammerhead.zip**,and recovery.img
After that I flashed recovery to device. and use "adb sideload lineage-**.zip" to flash system . but I get a error message without any advise.
So I flash a TWRP recovery to device , and use adb sideload flash system, but when I try to reboot system , it tells me that "no os installed in you device ,are you sure want to reboot ?"
I don't know wether I have forgot to complete some steps?
Can some help me with this problem ? thanks in advance.
After all different tries , I eventually opened my nexus 5 with lineage os.
here is my solution , may this help you :
I added this two lines in my sourcecode/.repo/local_manifests/roomservices.xml
```
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" />
what the hell xda doesn't support markdown?
Im sorry if this is the wrong place, I tried to comment on a root conversation where it would apply most, but I couldn't post. Anyway...this device has just been left in the dark, little to nothing about a solid root. I tried Kingroot....and then again and again....im not sure whats going on with a one button root, but my idea was it was doing something over and over making it weaker....I ran it about 10 times and I was suprised it rooted!!! But soon I realided it didnt matter much, cause there are no custom roms or Kernels...so...I don't know, just wanted to let a few guy know, maybe repetition of Kingroot will help them and they can go on to build roms and things! Thanks everyone, this site is the only source I hit for everything android! I have a screen shot...just unsure how to post...on a virgin! My first post!!
Thanks!! Rooted my HP 10 Plus (Australian version) after 3.5 years of trying unsuccessfully.
Rooting wiped all data from the tablet!
It took many restarts of both programming and tablet (forced). I even reinstalled Kingroot several times to get it out of loops.
Your next steps are:
Use EsExplorer to change the root folder (/) permissions from RO to RW.
Navigate to /system/etc/permissions
Here there is a file called "platform.xml"
Open platform.xml
Find the permission block below. It will not have the last line in it. ADD this line
<group gid="media_rw" />
The block will now look like this:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
CHECK AND DOUBLE CHECK THAT YOU HAVE ALTERED THE CORRECT BLOCK EXACTLY AS ABOVE!!
Save the file.
Restart your tablet.
You will now have full write access to your microSD card.
Thanks again.
br, John
Process?
Hi KingRat! Can you share the process you used to Root the HP 10 Plus after adding this file permission?
I would like to install a Linux Distro on mine (Aussie Model as well)
King Rat said:
Thanks!! Rooted my HP 10 Plus (Australian version) after 3.5 years of trying unsuccessfully.
Rooting wiped all data from the tablet!
It took many restarts of both programming and tablet (forced). I even reinstalled Kingroot several times to get it out of loops.
Your next steps are:
Use EsExplorer to change the root folder (/) permissions from RO to RW.
Navigate to /system/etc/permissions
Here there is a file called "platform.xml"
Open platform.xml
Find the permission block below. It will not have the last line in it. ADD this line
<group gid="media_rw" />
The block will now look like this:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
CHECK AND DOUBLE CHECK THAT YOU HAVE ALTERED THE CORRECT BLOCK EXACTLY AS ABOVE!!
Save the file.
Restart your tablet.
You will now have full write access to your microSD card.
Thanks again.
br, John
Click to expand...
Click to collapse