[MOD]Enable Init.d on Stock Kernel for ALL Desire 816 Variants || v4.0.0 || 12-31-14 - Desire 816 Android Development

Superuser / Busybox / Init.d Installer / & Write Protection Removal / Sdcard RW - Mod on Stock Kernel
KitKat Only, Lollipop will not work.!!! ​
Hello Desire 816 Community , I've noticed you guys haven't received s-off. meaning our EMMC is still secured by HTC Write Protection. And we all know that's a PITA. Especially for us developers. So i took the liberty to add Busybox, Init.d Installer, & Write Protection Removal all in one zip to give us a working "/system" RW permission"
Only tested on Virgin Mobile Desire 816 and confirmed working by me... To confirm it worked on your device after flashing this use a root explorer and navigate to /data/local/tmp/ and you should see wp_log_test.txt. Then open it and it should say System Write Enabled ... Means busybox, init.d and wp_mod.ko and script are working.
Changelog :
Code:
v1.0.0
- Installs Superuser by Koush
- Hide Superuser in Sense Settings App
- Enabled Init.d On Stock Kernel
- Installs Wp_mod.ko and Script So It always Loads on Boot
- Installs Busybox 1.21.1
v2.0.0
- Added Correct RW to sdcard and External sdcard
- Made Compatable with ALL MODELS.!!!!
v3.0.0
- Fixed Root with Koush SuperUser
- Added Deletions of the last superuser you were using
- updated update-binary
v4.0.0
- Updated 00writemodule Script
- Added usf_post_boot.sh ( helps load superuser and wp_mod.ko )
Download :
In Attachments
XDA:DevDB Information
Init.d On D816, Tool/Utility for the HTC Desire 816
Contributors
xXminiWHOOPERxX
Version Information
Status: Stable
Current Stable Version: initial release
Created 2014-12-29
Last Updated 2014-12-28

That's great!Thank you for your work!

xXminiWHOOPERxX said:
Superuser / Busybox / Init.d Installer / & Write Protection Removal Mod on Stock Kernel​
Hello Desire 816 Community , I've noticed you guys haven't received s-off. meaning our EMMC is still secured by HTC Write Protection. And we all know that's a PITA. Especially for us developers. So i took the liberty to add Busybox, Init.d Installer, & Write Protection Removal all in one zip to give us a working "/system" RW permission"
Only tested on Virgin Mobile Desire 816 and confirmed working by me... To confirm it worked on your device after flashing this use a root explorer and navigate to /data/local/tmp/ and you should see wp_log_test.txt. Then open it and it should say System Write Enabled ... Means busybox, init.d and wp_mod.ko and script are working.
Changelog :
Code:
v1.0.0
- Installs Superuser by Koush
- Hide Superuser in Sense Settings App
- Enabled Init.d On Stock Kernel
- Installs Wp_mod.ko and Script So It always Loads on Boot
- Installs Busybox 1.21.1
Download :
In Attachments
XDA:DevDB Information
Init.d On D816, Tool/Utility for the HTC Desire 816
Contributors
xXminiWHOOPERxX
Version Information
Status: Stable
Current Stable Version: initial release
Created 2014-12-29
Last Updated 2014-12-28
Click to expand...
Click to collapse
thanks for this !
could you be more specific, though ? does this need unlocked bootloader ?
Or is it something you can flas from the device's built in recovery ?

Lodotux said:
thanks for this !
could you be more specific, though ? does this need unlocked bootloader ?
Or is it something you can flas from the device's built in recovery ?
Click to expand...
Click to collapse
You need an unlocked bootloader and a custom recovery.

Ok so i just need to copy to root of internal
start up custom recovery say twrp select flash zip
select this zip zip file correct?

[email protected] said:
Ok so i just need to copy to root of internal
start up custom recovery say twrp select flash zip
select this zip zip file correct?
Click to expand...
Click to collapse
If your /system partition is mmcblk0p43 then flash away. This was made for the Virgin Mobile Desire 816 and tested extensively with me. So if you have another variant and partition matches then your good to go.

@xXminiWHOOPERxX
Good to see you here
Also you can add a5dug to tested devices

mygamers said:
@xXminiWHOOPERxX
Good to see you here
Also you can add a5dug to tested devices
Click to expand...
Click to collapse
Is your partitions the same? If so your supported already

xXminiWHOOPERxX said:
Is your partitions the same? If so your supported already
Click to expand...
Click to collapse
You can use this for mounting
run_program("/sbin/mount", "/system");
And it works on all models
And this for unmounting
assert(unmount("/system") || ui_print("(system is unmounted already)"));

mygamers said:
You can use this for mounting
run_program("/sbin/mount", "/system");
And it works on all models
And this for unmounting
assert(unmount("/system") || ui_print("(system is unmounted already)"));
Click to expand...
Click to collapse
I have a few methods of extracting... Will make a new zip soon

Thank you. It was driving me nuts that I had root but still couldn't write freely to my sdcard. This patch worked perfectly!

Does this work for virgin mobile a5-ul french version too ?
Desire 816n ?

yep
thanks yep its a vm unit
xXminiWHOOPERxX said:
If your /system partition is mmcblk0p43 then flash away. This was made for the Virgin Mobile Desire 816 and tested extensively with me. So if you have another variant and partition matches then your good to go.
Click to expand...
Click to collapse

Lodotux said:
Does this work for virgin mobile a5-ul french version too ?
Desire 816n ?
Click to expand...
Click to collapse
V2 works with all desire 816

xXminiWHOOPERxX said:
V2 works with all desire 816
Click to expand...
Click to collapse
I had some issues with superuser though, I had to manually download and flash it through recovery.

Lodotux said:
I had some issues with superuser though, I had to manually download and flash it through recovery.
Click to expand...
Click to collapse
What issue? Like no root or what? Cause I tested it to make sure root stuck... Before I released

xXminiWHOOPERxX said:
What issue? Like no root or what? Cause I tested it to make sure root stuck... Before I released
Click to expand...
Click to collapse
I had root but binaries needed update. I updated them using recovery first but the notification came back after reboot then tried recovery update, notification came back again. Did this a couple of time until finally I was not rooted anymore, then I had a message '' this Rom recovered from an abnormal reboot, send report to HTC''.
I decided then to follow the how-to from an other thread, downloaded the zip and flash it from recovery. Until now, it's been an hour, no more notification, everything seems to be fine.
Just thought I ought to let you know, not trying to diminish your work.
Btw, mine is a variant from French virgin mobile, a5_ul, device is D816n. I had issues with the first recovery, flashed twrp first not knowing touch recovery has been reported to be incompatible with the ''n'' variant of desire 816.
And please forgive my English, it's been a long time since I made such a long post.

Lodotux said:
I had root but binaries needed update. I updated them using recovery first but the notification came back after reboot then tried recovery update, notification came back again. Did this a couple of time until finally I was not rooted anymore, then I had a message '' this Rom recovered from an abnormal reboot, send report to HTC''.
I decided then to follow the how-to from an other thread, downloaded the zip and flash it from recovery. Until now, it's been an hour, no more notification, everything seems to be fine.
Just thought I ought to let you know, not trying to diminish your work.
Btw, mine is a variant from French virgin mobile, a5_ul, device is D816n. I had issues with the first recovery, flashed twrp first not knowing touch recovery has been reported to be incompatible with the ''n'' variant of desire 816.
And please forgive my English, it's been a long time since I made such a long post.
Click to expand...
Click to collapse
Okay I'll work on root more and release a new update.

FYI the zip I flashed Is the super su v2.40 from v_superuser's guide.

Lodotux said:
FYI the zip I flashed Is the super su v2.40 from v_superuser's guide.
Click to expand...
Click to collapse
I don't like SuperSU personally but will add it instead but still make a Superuser one.

Related

[RECOVERY][CWM][6.0.3.2] Sk8's CWM Touch Recovery v15.0.2 (05/15/13)

Another port of my custom recovery.
For the aroma file manager option to work you have to flash the zip at least once as the zip file will put aroma in the correct place on your sdcard.
Download ------> cwm6032touch_v15.0.2_m7.zip
Thanks to :
gweedo767 (for creating the original touch recovery)
koush (for creating CWM)
PhilZ (for his amazing improvements and help with applying universal touch code) BIG THANKS!
htc-msm8960 for their device tree
PREVIOUS VERSIONS:
Code:
v1:
[CODE]initial release
v2:
Code:
- updated to latest version of clockworkmod
- add reboot download option
- add reboot recovery option
- add power off option
- change font size
- add various internal/external sdcard options from cwm 5.5.0.4 touch recovery
- change order of internal/external sdcard so internal comes first on backup/restore/install
v3:
Code:
- add support for phones that sdcard mounts as external_sd
- fix the line below the menu to actually be below the menu
- clean up the "andy the android" picture. (if you make a backup you will see that the picture in the background has been poorly edited. there are bits of black spots around him)
- JellyBean Background
v4:
Code:
- fixed missing slash that was not allowing installs from external sdcard
v5:
Code:
- update to latest version of CWM 6.0.0.8
v6:
Code:
- updated to latest version of CWM 6.0.0.9
- added ability to delete nandroids from recovery (in backup and restore menu)
- changed order of internal/external so external comes first
- fix timestamp creation on backups
v7:
Code:
- updated to latest version of CWM 6.0.1.0
- fixed bug that would not allow backup of /system
v8:
Code:
- update to latest version of CWM 6.0.1.1
- allow customization of backup format (dedupe/tar)
- use minizip tool instead of e2fsck, etc.
- more....
v9:
Code:
- update to latest version CWM 6.0.1.2
- fixed bug where backing up to external wouldnt backup /emmc/.android_secure
- ADDED DUAL LUNFILE SUPPORT! (thanks to topprospect for this!)
-- what this does is when you mount USB storage you
will see both of your sdcards mount at the same time
- various /emmc fixes (recovery now looks for all clockworkmod "." files in /emmc instead of /sdcard)
- this is useful for people who dont use an external sdcard at all
v10:
Code:
- grabbed latest commits to official CWM 6
- added new extras menu (look in 2nd post for info)
- some other stuff i dont remember
v11:
Code:
- fixed hide nandroid progress bug (it now works)
- added sk8's fix permissions option (logging is disabled so it runs faster and it also clears stale data directories)
- fixed bug where normal fix permissions wouldnt create a log to correct location
- cleaned up some syntax
v12:
Code:
- added darkside wipe/super wipe built in
- added aroma file manager built in
- added ability to backup/restore the /efs partition
- cleaned up oneconfirm/hidenandroidprogess features to be one menu item
- more......
v12.5:
Code:
- fixed bug where darkside cache scripts wouldnt work
- added option to create a custom zip (read 2nd post)
v13:
Code:
- report log gets copied to /emmc instead of /sdcard
- add support for roms without busybox (stock roms) to create a custom rom zip
- add support for openrecoveryscript (read [URL="http://forum.xda-developers.com/showpost.php?p=31093552&postcount=344"]THIS[/URL])
- add support to choose a custom created openrecoveryscript
- use goo-manager to flash roms and create openrecoveryscripts
- now detects where android_secure is automatically
- fix ors-mount.sh to work even if 'sdcard' is in the path
- misc code cleanups.....
v13.1
Code:
- bug fixes
- android_secure fixes
v13.2
Code:
- that pesky android_secure - bugfixes for restoring android_secure
v13.3
Code:
- updated to latest 6.0.1.4
- some bugfixes
- added option to select where android_secure lives (hopefully this is the last time. i promise)
v13.4:
Code:
- updated aroma file manager to latest version
v13.5:
Code:
- add initial support for whole-device encryption (thanks topprospect)
v14:
Code:
- updated to latest CWM 6.0.1.5
- fixed some mtdutils issues
- added a bootanimation changer
v14.1:
Code:
- not released
v14.2:
Code:
- added bootanimation change selection from external sdcard
- added newest aroma filemanager w/ console support (you can use terminal in recovery)
- updated to latest changes of official CWM
- added support for Android 4.2
- zip file now installs updater.sh to your internal sdcard
- updated updater.sh to fix typo
v14.2.1:
Code:
- openrecoveryscript automatically runs if script is found in /cache/recovery/
- this is good for using my updater.sh or goomanager
v14.3
Code:
- skipping this number to keep in line with my other devices
v14.3.1
Code:
- lots and lots of under the hood improvements
- re-wrote OpenRecoveryScript and efs backup/restore code
- these work alot better now (thanks so much to PhilZ for his amazing help)
- add option to backup/restore boot.img from sdcard
- now using latest stable kernel
- completely re-wrote the touch code for some improvements
- now to select you tap anywhere on the screen
- fixed some typos
- made my source code universally compatible with all phones using ICS or greater
- compiling in jellybean base recovery code now
Code:
v14.4
- fixed soft keys (virtual keys on bottom) (credit to PhilZ for this)
- reverted back to swipe to select
- tweaked some features in the extras menu
Code:
v14.4.1
- messed up on the mount points so i fixed them now
- added some buffer to fix ability to accidentally select wrong item
Code:
v14.4.5
- skipped some versions because they were made for other phones
- re-wrote the create custom backup feature to be universal now with all phones/roms (thanks to PhilZ for the help)
- added new settings menu
- add ability to change timezone
- added /preload support [B](must go and enable it in misc nandroid settings)[/B]
- add rom name to nandroid names
- more i just cant remember now....
Code:
v14.4.6
- added exFAT support
- some under the hood optimizations
Code:
v14.4.7
- added extras>>misc nandroid settings>>disable assert check
- removed black space in error icons
- some under the hood optimizations
- added updater.sh script
Code:
v15.0.0
- updated to latest cwm source
- added HTC One into the group
Code:
v15.0.1
- fix zip file
[/CODE]
Current Version:
v15.0.2
- update to latest cwm official changes
Click to expand...
Click to collapse
How touch works:
UP - swipe finger up on screen
DOWN - swipe finger down on screen
SELECT - swipe finger from left to right
BACK - swipe from right to left
SOURCE: https://github.com/sk8erwitskil/touch_recovery_cm10.1
This is what the new dedupe format does. This is a direct quote from the original creator of clockworkmod:
Code:
ClockworkMod Recovery now deduplicates files between builds. This results in way smaller backups.
Don't delete /sdcard(or emmc)/clockworkmod/blobs
Overview
I've gotten a few questions about how this works, so I figured I'd make a post on it.
Basically, here's what happens:
The files being backed up are hashed (sha256, not that it matters). Then it checks for a file with the name of the hash in
/sdcard/clockworkmod/blobs
So, if the hash of the file was c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed, it looks for /sdcard/clockworkmod/blobs/c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed
If the hash file is found, it continues on to the next file. Otherwise, it copies the file to the blobs directory with the file name being the hash.
ROMs and user data, for the most part, do not change too much between builds and backups. So, your APKs, system files, etc, are generally only stored once. This saves a ton of space. Especially between incremental backups.
Some of you may be thinking "well, how do I delete a backup?".
First, never delete the blobs directory. This would actually delete all your backups by rendering them unusable.
Simply delete the usual backup directory, and the next time you run a backup, all the unused hash files will be automatically delete (a process known as garbage collection). The recovery will show "Freeing space..." while this is happening.
Sounds great - keeping the backup size low is very useful especially when all of the roms are 900+ MBs. I wish there was an easy way to move / still use my TWRP backups.
Thanks... Testing it out now...
Sent from my HTC One using xda app-developers app
Any Idea if this works for the Canadian HTC One on Bell?? I'm not really sure what the differences between the versions are... I tried to install CMW Touch last night and it all seemed to work but when I select recovery it just reboots (twice) and then boots up normally... Sorry Kinda new to the One and installing a recovery
Any help or advice would be greatly appreciated
johnblundon said:
Any Idea if this works for the Canadian HTC One on Bell?? I'm not really sure what the differences between the versions are... I tried to install CMW Touch last night and it all seemed to work but when I select recovery it just reboots (twice) and then boots up normally... Sorry Kinda new to the One and installing a recovery
Any help or advice would be greatly appreciated
Click to expand...
Click to collapse
hmmm i havent checked out what the differences are between att and bell ones. it might have a different partition layout. how did you install recovery?
sk8erwitskil said:
hmmm i havent checked out what the differences are between att and bell ones. it might have a different partition layout. how did you install recovery?
Click to expand...
Click to collapse
Used fastboot method with windows found here: http://forum.xda-developers.com/showthread.php?t=2173863 and used the touch one... not sure about the partition stuff, it gave me all successful messages in CMD prompt but like I said when I go into the bootloader and select recovery it just shows the HTC screen then reboots HTC screen again reboots and boots normally into the system...
Thanks for any help and info you can provide
Wanted to let you know flashing the zip via recovery didn't work, but flashing via fastboot worked fine for me.
johnblundon said:
Used fastboot method with windows found here: http://forum.xda-developers.com/showthread.php?t=2173863 and used the touch one... not sure about the partition stuff, it gave me all successful messages in CMD prompt but like I said when I go into the bootloader and select recovery it just shows the HTC screen then reboots HTC screen again reboots and boots normally into the system...
Thanks for any help and info you can provide
Click to expand...
Click to collapse
can you do a:
Code:
fastboot boot recovery.img
scotty2hotty1125 said:
Wanted to let you know flashing the zip via recovery didn't work, but flashing via fastboot worked fine for me.
Click to expand...
Click to collapse
yah i think thats due to the s-on or something. just make sure to flash the zip once so you get the aroma fm feature.
sk8erwitskil said:
can you do a:
Code:
fastboot boot recovery.img
yah i think thats due to the s-on or something. just make sure to flash the zip once so you get the aroma fm feature.
Click to expand...
Click to collapse
The script is to flash boot.img aswell. A bit of a typo!
backfromthestorm said:
The script is to flash boot.img aswell. A bit of a typo!
Click to expand...
Click to collapse
so youre saying you were flashing boot and recovery?
sk8erwitskil said:
so youre saying you were flashing boot and recovery?
Click to expand...
Click to collapse
No, just look at the script in the zip. It's all wrong.
backfromthestorm said:
No, just look at the script in the zip. It's all wrong.
Click to expand...
Click to collapse
ah youre right. thanks for catching that! i just typed the wrong name so it wasnt flashing anything haha. fixed it now
thanks a lot
great recovery with no aroma installer issue
Still don't think it will flash anyway, unless s-off, though you could try dd'ing it like how we flash the boot partition now if the straight flash won't do it.
@sk8erwitskil
Hey which kernel you using for this?
johnblundon said:
Used fastboot method with windows found here: http://forum.xda-developers.com/showthread.php?t=2173863 and used the touch one... not sure about the partition stuff, it gave me all successful messages in CMD prompt but like I said when I go into the bootloader and select recovery it just shows the HTC screen then reboots HTC screen again reboots and boots normally into the system...
Thanks for any help and info you can provide
Click to expand...
Click to collapse
Boot into phone and go into settings and disable fast boot and you should boot into recovery fine.
Thanks I'll try right now
WORKED PERFECTLY!!! THANKS SOOOO MUCH!!!
Flyhalf205 said:
@sk8erwitskil
Hey which kernel you using for this?
Click to expand...
Click to collapse
im using a prebuilt one i found on github somewhere. actually, i think it was from htc-msm8960. if you were going to say i need to credit the person i got it from then you are absolutely correct. when i made my thread i just grabbed my other thread as a template and just updated a few things but forgot to update the credits section. ill do that right now. sorry about that.
sk8erwitskil said:
im using a prebuilt one i found on github somewhere. actually, i think it was from htc-msm8960. if you were going to say i need to credit the person i got it from then you are absolutely correct. when i made my thread i just grabbed my other thread as a template and just updated a few things but forgot to update the credits section. ill do that right now. sorry about that.
Click to expand...
Click to collapse
I was just curious. Thought someone said they didn't have Aroma issues which was odd because the htc-msm8960 was originally forked from me and my CWM has Aroma issues and I use the stock kernel which so technically you do too.... lol follow me?
Flyhalf205 said:
I was just curious. Thought someone said they didn't have Aroma issues which was odd because the htc-msm8960 was originally forked from me and my CWM has Aroma issues and I use the stock kernel which so technically you do too.... lol follow me?
Click to expand...
Click to collapse
yah im using the same kernel then. are the aroma issues proven to be kernel related? and i think the person that mentioned aroma was referring to the fact that the installer wasnt build with aroma so they didnt have to deal with that when installing this recovery.

[MOD][KERNEL MODULE] wp_mod: disable system write protection

wp_mod: Module to disable system write protection
This is a kernel module that disables write protection on the system partition while running the stock kernel.
HTC changed the MMC_MUST_PREVENT_WP_VIOLATION code to make it much harder to crack. I had to redo the module completely, so this is experimental. In the past, it was a simple matter of changing a variable, now we have to replace a function in the kernel so it returns something different, causing the kernel to skip over the write protection code.
I would caution against loading the module after attempting to make changes to the system partition. It could end up corrupting the filesystem. If the module is loaded at boot, there should be no worries.
This module will probably need to be updated to load with future kernels when they are released.
Please consider a donation to support ongoing development
Many thanks to those who have donated!
Download:
wp_mod for GPE Marshmallow 6.0 can be found here:
http://forum.xda-developers.com/htc-one-m8/general/root-root-marshmallow-gpe-supersu-t3242210
Sense 4.4.4 (thanks @migascalp):
http://www.mediafire.com/download/4vyqslnc4crsnto/wp_mod_3.28.401.6.zip
Sense 4.4.3 (2.22 base):
wp_mod.ko
Sense 4.4.2:
wp_mod.ko
GPE 4.4.4 (thanks to @italyforever):
wp_mod.ko
GPE 4.4.2:
wp_mod.ko
Installation:
Wait for it to be implemented in your favourite ROM
* or *
Copy the module to your device, and type
Code:
su
insmod /location-where-you-copied-it/wp_mod.ko
Changes:
April 2, 2014 - wp_mod 4.1
-only return non-existing partition number if called by generic_make_request_checks
-remove exit from module (we don't want to be able to unload it)
-clean up code
March 31, 2014 - wp_mod 4.0
-new method for HTC One m8
Source:
https://github.com/flar2/wp_mod
Module was compiled against m8 Google Play Edition source. Some symbol CRC checks had to be hexedited in the compiled module to match the stock kernel. Thanks to Michael Coppola for example of function hooking on arm: http://poppopret.org/2013/01/07/suterusu-rootkit-inline-kernel-function-hooking-on-x86-and-arm/#arm
Nice Job!!!! this is awesome
AWESOME! Thank you! Will test and see
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Confirmed working here. I was able to delete stuff with titanium backup and it stuck after reboot. Thanks so much!
Sent from my M8 via XDA Premium app
So as an end user, before it gets baked into ROMs, we need to load this after each boot?
Worked here as well on the AT&T variant. I added the line to the install recovery script that chainfire uses for SuperSU and it loads it on boot now
what i did was run the insmod command in terminal emulator, made the system rw/ edited /system/etc/install-recovery.sh and added the insmod line in there Sure it would be easier if I had init.d support but I'm on stock and am too lazy to change to a custom rom
You guys are awesome.
Awesome work....Can now scratch my theming itch
Sent from my unknown using Tapatalk
gjlowe said:
So as an end user, before it gets baked into ROMs, we need to load this after each boot?
Click to expand...
Click to collapse
Nope. It'll get rolled into the kernel/scripts that are loaded at boot automagically.
M.
mattman83 said:
Nope. It'll get rolled into the kernel/scripts that are loaded at boot automagically.
M.
Click to expand...
Click to collapse
Hmmm..I ran the command in the OP and rebooted and when I try to create a directory in / it says that it is a read only file system.
graffixnyc said:
Worked here as well on the AT&T variant. I added the line to the install recovery script that chainfire uses for SuperSU and it loads it on boot now
what i did was run the insmod command in terminal emulator, made the system rw/ edited /system/etc/install-recovery.sh and added the insmod line in there Sure it would be easier if I had init.d support but I'm on stock and am too lazy to change to a custom rom
Click to expand...
Click to collapse
Can you share your zip please
Sent from my HTC One_M8 using Tapatalk
gjlowe said:
Hmmm..I ran the command in the OP and rebooted and when I try to create a directory in / it says that it is a read only file system.
Click to expand...
Click to collapse
You need to run it each time you boot, until it is correctly working as init.
mattman83 said:
Nope. It'll get rolled into the kernel/scripts that are loaded at boot automagically.
M.
Click to expand...
Click to collapse
Electronic Punk said:
You need to run it each time you boot, until it is correctly working as init.
Click to expand...
Click to collapse
Ok then, I guess @mattman83 was referring to when we have this in custom ROMs?
gjlowe said:
Ok then, I guess @mattman83 was referring to when we have this in custom ROMs?
Click to expand...
Click to collapse
Yup, I have already added it to my copy of ARHD 3.x and it is working great, so look for a release as soon as Mikes connection allows!
im on the vzw m8. we have temp 'root access' to /system/xbin. is it ok to do this as well? which will make /system writable?
-4ndr01d- said:
im on the vzw m8. we have temp 'root access' to /system/xbin. is it ok to do this as well? which will make /system writable?
Click to expand...
Click to collapse
I don't know what method they use to get root access to /system/xbin. This is probably compatible, if it loads with the Verizon kernel. Backup all your data and try it.
flar2 said:
I don't know what method they use to get root access to /system/xbin. This is probably compatible, if it loads with the Verizon kernel. Backup all your data and try it.
Click to expand...
Click to collapse
jcase has got us root access ...its only writable to /system/xbin and has to run on every boot. the app used is called WeakSauce
but i was thinking. once my phone boots up, i wait til i have root access, then download the file, place it in the correct directory, download terminal emulator and run the commands. then /system becomes writable until next reboot?
@flar2 nice job as always man!! :good:
awesome awesome awesome
looking forward to elementalx on the m8!
For users who have init.d support in their ROM. Flash this and your good to go
https://mega.co.nz/#!XINyDIrB!QcdP3sZJjgKAivkEa7iN8Jusx0e78T1rpA5PT7VGAxQ
Sent from my Note 3

(Guide) (Experimental) C-apps on oxygenos 2.2.0 (maybe >versions)

Ota with these apps installed is impossible ! Full flash stock rom before ota
This is at your own risk !
I am not responsible for dead sdcards, thermonuclear war or you getting fired because the alarm app failed
If you point the finger at me for messing up your device, I will laugh at you
I am not responsible if your phone becomes a hipster and claims to have been modified before it was cool
I am not responsible for what you do with your computer, be it a laptop or a desktop/whatever and your phone as well
What are c-apps ?
https://cyngn.com/c-apps
Click the link to learn more
Requirements :-
C-apps package
Es file explorer OR aroma file manager
1) Install es file explorer (or boot to twrp, mount system in options, disable only mount system read-only and flash aroma file manager)
2) (Es file explorer users only) enable root explorer and mount system read-write
3) now rename /system/priv-app/dialer -> /system/priv-app/dialerx
4) similarly, rename /system/app/incallui -> /system/app/incalluix
5) (es file explorer users only) you may experience app crashes. Don't worry about them and reboot to twrp
6) flash c-apps package
7) (aroma file manager users only) mount system read-write in twrp options and disable the mount system read-only checkbox, then flash aroma file manager again and rename /system/app/incalluix -> /system/app/incallui (remove the x) and do the same to /system/priv-app/dialerx -> /system/priv-app/dialer (remove the x, do not change the case of the letters ! )
8) (aroma file manager users only) exit it and reboot to system
9) (es file explorer users only) follow step 7 after booting into android
10) (es file explorer users only) reboot your phone
11) now, disable these apps after booting into android (they do not work)
(I couldn't find the time to upload screenshots, coming soon !)
Edit :- screenshots added, check attachments
Truedialer works (partially, incallui doesn't work, dualsim works) but I prefer stock that is why I disabled it
Only use 1 dialer app or they may conflict !
Working :-
Cm account
Gallery
Email
Calendar
True caller service
Cm anti-theft
Screencast screen recorder
Etc etc
Audiofx is not working but maxxaudio tuner and audiofx are the same thing
Thanks, it works.
1. I couldn't find "disable only mount system read-only" in TWRP. Anyway, I flashed Aroma File Manager,
2. renamed said files, exited Aroma,
3. flashed C-Apps package,
4. again flashed Aroma, went inside /system to rename files, they were replaced by DailerNext and InCallUiNext, exited Aroma,
5. rebooted to system.
6. Found that stock apps have been replaced(Nevermind, I'm not fan of them anyway).
I followed TWRP procedure.
krishna442 said:
Thanks, it works.
1. I couldn't find "disable only mount system read-only" in TWRP. Anyway, I flashed Aroma File Manager,
2. renamed said files, exited Aroma,
3. flashed C-Apps package,
4. again flashed Aroma, went inside /system to rename files, they were replaced by DailerNext and InCallUiNext, exited Aroma,
5. rebooted to system.
6. Found that stock apps have been replaced(Nevermind, I'm not fan of them anyway).
I followed TWRP procedure.
Click to expand...
Click to collapse
If you followed the procedure correctly, that wouldn't have happened
Anyways, I'll upload the 2 stock apps the got replaced and a file that contains permissions that need to be applied to them
[email protected] said:
If you followed the procedure correctly, that wouldn't have happened
Anyways, I'll upload the 2 stock apps the got replaced and a file that contains permissions that need to be applied to them
Click to expand...
Click to collapse
I thought so, I couldn't find "mount system read-only."
@[email protected] check attachment for screenshot
krishna442 said:
I thought so, I couldn't find "mount system read-only."
Click to expand...
Click to collapse
I'll look into this
In the meantime, try reflashing twrp
krishna442 said:
I thought so, I couldn't find "mount system read-only."
Click to expand...
Click to collapse
The option is there, just checked....in the bottom left of the mount section
[email protected] said:
I'll look into this
In the meantime, try reflashing twrp
Click to expand...
Click to collapse
[email protected] said:
The option is there, just checked....in the bottom left of the mount section
Click to expand...
Click to collapse
Thanks, I did, and there's this option .
krishna442 said:
Thanks, I did, and there's this option .
Click to expand...
Click to collapse
Strange....
I'll add this information to the op so that if anyone faces the same issue, they'll know what to do
Thanks
Get audiofx apk from teamsek or any cyanogen build of 5.1.1 install manually thats working
i m using write now with audio tunner
install the apk i have uploaded manually working fine along with audiotunner
sahil chandel said:
Get audiofx apk from teamsek or any cyanogen build of 5.1.1 install manually thats working
i m using write now with audio tunner
Click to expand...
Click to collapse
Send me a detailed guide via pm (what did you exactly use, etc) and I'll add it to the op
And, maxxaudio tuner and audiofx are the exact same thing....no difference...both are from maxxaudio....same dev
sahil chandel said:
Get audiofx apk from teamsek or any cyanogen build of 5.1.1 install manually thats working
i m using write now with audio tunner
install the apk i have uploaded manually working fine along with audiotunner
Click to expand...
Click to collapse
I just tried it out
Didn't work
Stick with audio tuner on op2 its the same thing
[email protected] said:
I just tried it out
Didn't work
Stick with audio tuner on op2 its the same thing
Click to expand...
Click to collapse
its working install manually see screenshots
sahil chandel said:
its working install manually see screenshots
Click to expand...
Click to collapse
it isn't
just tried
and that does not look like official audio tuner
[email protected] said:
it isn't
just tried
and that does not look like official audio tuner
Click to expand...
Click to collapse
bro thats audiofx.apk.....not audio tunner i have both audiotunner & audiofx.apk look 2nd screenshot i used them combinely too during headphones....gives awesome bass combination
sahil chandel said:
bro thats audiofx.apk.....not audio tunner i have both audiotunner & audiofx.apk look 2nd screenshot i used them combinely too during headphones....gives awesome bass combination
Click to expand...
Click to collapse
my bad
it doesn't look like the apk in the c-apps package
[email protected] said:
my bad
it doesn't look like the apk in the c-apps package
Click to expand...
Click to collapse
use the app that i hv uploaded
its from teamsek cm12.1
krishna442 said:
I thought so, I couldn't find "mount system read-only."
@[email protected] check attachment for screenshot
Click to expand...
Click to collapse
Thanks
But that does not look like official twrp
http://twrp.me/devices/oneplustwo.html
[email protected] said:
Thanks
But that does not look like official twrp
http://twrp.me/devices/oneplustwo.html
Click to expand...
Click to collapse
Yep, even I just noticed it. Omg. I'm really getting dumb these days. Thanks a lot.

need help to mount system RW in TWRP Recovery.. :(

Dear All,
i need some help regarding TWRP. i am trying to make TWRP 3.0.2 working for experia z2 devices. i everything is working well but i am unable to mount /system writeable. i can flash zip files in system successfully then system mounted rw but in mount section of twrp when i click on "mount system read only" then i am able to mount system.
system mounted rw only to install zip files.
thanks in advance..
Hi, I'm having the same problem, and I trying to fix it now, if i fix the problem, i'll post here how I did it.
but for now, what ROM are you using?
UPDATE:
fixed my issue by flashing this pack:
https://drive.google.com/file/d/0B3zaZkL_p8vIU0dwUmNqRjE2OU0/view?pref=2&pli=1
(it contais: RIC Service killer, SELinux set to permissive script, TWRP 3.0.2 and a SuperSU 2.71 zip)
AK2H said:
Where did you get it???
Click to expand...
Click to collapse
here:
http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357
Wolfbreak said:
LB/UB supported [Windows/Flashable]
Hey guys i present you RecRoot v4.
Please report back if it works!
Instructions
You need to have Root already and a Windows PC or working Recovery
Run install.bat on Windows and connect Phone or flash in your already working Recovery to keep Root
The Windows Variant only installs Recovery
Features
New TWRP 3.0.2 Recovery from shoey63
ByeSELinux
RIC Defeat
Fixed sqsh mount in Script
Recovery uses its own Busybox now
Updated Busybox to 1.24.2
SuperSU 2.71 in System Mode
Download
Download RecRoot Combined v4 for Android 6.0.1 Marshmallow [all MM Firmwares supported]
Credits
serajr for Scripts
shoey63 for Recovery
NUT for his Scripts
zxz0O0 for ByeSELinux and RIC Defeat
Chainfire for SuperSU
Click to expand...
Click to collapse
stayawake said:
Hi, I'm having the same problem, and I trying to fix it now, if i fix the problem, i'll post here how I did it.
but for now, what ROM are you using?
UPDATE:
fixed my issue by flashing this pack:
https://drive.google.com/file/d/0B3zaZkL_p8vIU0dwUmNqRjE2OU0/view?pref=2&pli=1
(it contais: RIC Service killer, SELinux set to permissive script, TWRP 3.0.2 and a SuperSU 2.71 zip)
Click to expand...
Click to collapse
thanks for help i will check that..
am using latest version. marshmallow 6.0.1 , 570 ..
Link down, any mirrors?
Recrootv4 Mirror:
https://mega.nz/#!QFYwCCKa!pygGQmpnf...C1Y3qzrj4fDsjQ
SHA1 sum: 35c0893a498b4b9041505c729bc9e815358702b8
From this post >> https://forum.xda-developers.com/showpost.php?p=68878340&postcount=796

[ROM][ROOT][STOCK][TINKER-EDITION][5.1.1] Galaxy Tab A 7.0 2016 SM-T280/T285

Samsung Galaxy Tab A 7.0 LTE/WIFI 2016 TINKER EDITION ROM (DEOXED/ROOT/XPOSED)
============================================
Update 01/04/2017
-----------------------
Tinker Edition V5.1 is now out.
* Re-added Samsung stock camera and gallery
* revert back to stock vold to fix issues people are having with micro sdcards
Now available for the SM-T285, SM-T280 to follow
Update 10/29/2016
------------------------
TWRP for the SM-T285 here
Early Build of TWRP for the T285 (see post by @ashyx will update this if an official version is released. The T280 version should be available not far behind I believe
Update 09/21/2016
-----------------------
V5 now out (root, deodexed, xposed) for the SM-T280/T285, still working on the SM-T280
Update 09/20/2016
------------------------
Turns out this device is not as locked as we all thought it too be. See thread below for my ordeal and more details:
http://forum.xda-developers.com/galaxy-tab-a/help/resources-samsung-galaxy-tab-7-0-2016-t3431022
Modifications:
===========
* Based on LMY47V.T285XXU0APCN
* Stock Boot and Recovery (Not much choice since the bootloader is locked)
* Busybox
* Hijacked Vold (using CM 12.1 sources) to run shell scripts stored in /data/scripts/vold.init
* Removed Touchwiz launcher and redundant samsung apps (Hancom office, Kidzone), replaced with Trebuchet
* Enabled r/w to the external SD Card
* Dolby Atmos mod (09/11/2016) (thanks to @Nando14sunny)
* Deodexed/Xposed (09/13/2016) (thanks to @wanam and @rovo89)
* soft linked /etc/hosts to /data/scripts/hosts and can be edited using adb shell (09/13/2016) (thanks to @venomrat)
* V5: root chainfire's SuperSu 2.78 (09/21/2016) (thanks to @Chainfire)
* stock boot animation
Special thanks also to @ashyx for initially taking a look at this device , I haven't given up on rooting this device yet.
Special thanks to @klemen241 for helping me try out the SM-T280 build
Haven't done extensive testing on Xposed modules, but the pokemon go iv mod/hacked worked and that was good enough for me (Before pokemon Go was patched). If you use this ROM feedback is highly appreciated
NOTES: To be safe, perform a cache wipe using recovery. I didn't need to do this personally but I haven't tested all use cases
NOTES: Since this rom is deodexed, the first boot will take quite a while, so please be patient .
NOTES: if you are coming from V2 and are using the mount_ext4 apps2sd scripts please update it for additional support for the V3 ROM HERE:
https://github.com/jedld/smt285_data_scripts
NOTES: (09/13/2016) Unfortunately, the V3 build fails the Google SafetyNet check, will be a problem if you play Pokemon Go
Other Notes: Removed support for zygote.init scripts in V3 as I am now using the app_process32_xposed binary, will work to get this back soon. I haven't had a need for zygote scripts though. The vold.init scripts shoud still work as before if you are using the apps2sd script
Installation Instructions:
Odin or Heimdall Required. I you are coming from the Stock Rom please wipe/factory reset to be sure. If you are upgrading from V1 or V2 you are not required to wipe unless there are problems. If you are upgrading to V3 cache wipe is recommended using recovery.
--FLASH AT YOUR OWN RISK--
1. Make sure to backup of your data and have a copy of your stock Rom in case something goes wrong.
2. Make sure your device is OEM unlocked. (Enable Developer settings and Enable the OEM unlock settings)
3. Extract ZIP file below and flash the tar.md5 file using ODIN, for details on this kindly look for instructions in the xda site.
4. For Heimdall you can use 7zip to extract the system.img from the tar.md5 and just flash the system.img itself.
Choose the appropriate download for the model (wifi only T280/ lte T285) that you have:
WIFI ONLY Download (SM-T280)
==========================
Link (V5 Deodexed, Rooted and Xposed):
https://mega.nz/#!0Jdg0a4D!XWLES1BwCPrkBlUzqNhRfRi_91LOdawYHydQ_scV2dI
Link (V3 Deodexed and Xposed - with special thanks to wanam with his custom Xposed build (86.0), and credits also to rovo89):
Download from Mega (v3 09/13/2016)
LTE Version Downloads (SM-T285)
===========================
Link (V5.1 Deodexed, Rooted and Xposed):
https://mega.nz/#!ZFFTFKYZ!NAeajNUjIgYI7zOslpWoJ2AeJ-NCKG0Ut8Buz_6eCgU
Link (V3 Deodexed and Xposed - with special thanks to wanam with his custom Xposed build (86.0), and credits also to rovo89):
Download from Mega (v3 09/13/2016)
Link (Original V2 odexed version):
Download from Mega (V2 09/11/2016)
If you have suggestions, send me a PM.
Other Notes (So people don't have to ask):
* I've tried to run superuser daemonsu, but unfortunately the sepolicy scopes for vold and zygote are too narrow in this device for supersu to use despite being root. In theory a version of daemonsu can be made specifically to run on this device with a somewhat castrated functionality though I don't have access to the source code to figure it out. Navigating the sepolicy landmine is hard.
WIFI ISSUES
=========
There are reports of wifi problems with the latest build due to wrong permissions with dhcp hooks, if so you can do the following (big thanks to @_mone):
Using adb shell:
Code:
su
mount -o rw,remount,rw /system
chmod 755 /system/etc/dhcpcd/dhcpcd-run-hooks
mount -o ro,remount,ro /system
/system is readonly by default, which is why you need the remount commands. Reboot your device after just to make sure.
Hi,
The mount_ext4_sdcard.sh script moves all apps to SD card on reboot?
Edit: did not read till the end. System apps are not move.
venomrat said:
Hi,
The mount_ext4_sdcard.sh script moves all apps to SD card on reboot?
Edit: did not read till the end. System apps are not move.
Click to expand...
Click to collapse
It won't by default for safety purposes, however you are welcome to edit the script and try to move them all
jedld said:
It won't by default for safety purposes, however you are welcome to edit the script and try to move them all
Click to expand...
Click to collapse
Thanks for your hard work. It's a pity this device is not as popular as their other models or more people would have already signed the petition.
I regret not doing more research before buying this tablet.
Hello there
At first i want to thank you for your hard work so far
Then i've got a question,
I just built this Tablet (LTE version) in my car. Now i'm on to configure it with Tasker to "act more like a car radio". It was really hard, because of the non rooted device.. But i did it so far
I used a sound mod, called Dolby Atmos (i think it's from lenovo?) on allmost every of my rooted devices to improve its sound.
I'm wondering if it would be possible that you could build in this mod inside a rom for me?
Normally i flash it as a zip file via a custom recovery so it's in the system files. but maybe you could edit it in there before the rom get flashed via odin? I could give you the zip, if u dont find it. It would be really nice!
Greetings from germany
Nando14sunny said:
Hello there
At first i want to thank you for your hard work so far
Then i've got a question,
I just built this Tablet (LTE version) in my car. Now i'm on to configure it with Tasker to "act more like a car radio". It was really hard, because of the non rooted device.. But i did it so far
I used a sound mod, called Dolby Atmos (i think it's from lenovo?) on allmost every of my rooted devices to improve its sound.
I'm wondering if it would be possible that you could build in this mod inside a rom for me?
Normally i flash it as a zip file via a custom recovery so it's in the system files. but maybe you could edit it in there before the rom get flashed via odin? I could give you the zip, if u dont find it. It would be really nice!
Greetings from germany
Click to expand...
Click to collapse
we could try, could you point me to a rom that has the specified libraries for Dolby?
Thank you, for the fast answer!
Here is the flashable zip of the Dolby Atmos, mod i used successfully on my other devices:
Mega
Greetings
Nando14sunny said:
Thank you, for the fast answer!
Here is the flashable zip of the Dolby Atmos, mod i used successfully on my other devices:
Mega
Greetings
Click to expand...
Click to collapse
Ok, wish granted, updated the ROM to include Dolby ATMOs, just redownload the ROM from the link in the main post.
jedld said:
Ok, wish granted, updated the ROM to include Dolby ATMOs, just redownload the ROM from the link in the main post.
Click to expand...
Click to collapse
Wow thank you! I'll test it right now
Edit:
It works like a charm! You really improved my devie with it!
Hi,
If it's not too troublesome, perhaps the next version can symlink the host file to a r/w folder so that ads can be blocked.
Thanks.
venomrat said:
Hi,
If it's not too troublesome, perhaps the next version can symlink the host file to a r/w folder so that ads can be blocked.
Thanks.
Click to expand...
Click to collapse
Possible, though the only r/w partition is data and cache, and it may potentially cause problems when you suddenly try to do a wipe. I'm working on deodexing and porting xposed framework for now. Either that if you've got some IP addresses that need to be blocked I can create an edition that has those entries. I'll see what I can do though there might be away to do it without breaking factory reset/wipe cache.
jedld said:
Possible, though the only r/w partition is data and cache, and it may potentially cause problems when you suddenly try to do a wipe. I'm working on deodexing and porting xposed framework for now. Either that if you've got some IP addresses that need to be blocked I can create an edition that has those entries. I'll see what I can do though there might be away to do it without breaking factory reset/wipe cache.
Click to expand...
Click to collapse
No hurry. I can wait. What you are doing now is more important. :good:
venomrat said:
No hurry. I can wait. What you are doing now is more important. :good:
Click to expand...
Click to collapse
Wish Granted. As a bonus, the latest version of the ROM is now deodexed and Xposed, please refer to the main post for the updates.
Feedback is appreciated.
How can i change the dpi?
Sent from my SM-T285 using XDA-Developers mobile app
corzradio said:
How can i change the dpi?
Sent from my SM-T285 using XDA-Developers mobile app
Click to expand...
Click to collapse
May need to modify build.prop, you may do this yourself here:
http://forum.xda-developers.com/galaxy-tab-a/how-to/guide-samsung-galaxy-tab-7-0-sm-t285-t3438296
Also there may be an Xposed framework modules that do that. Not sure though since I'm ok with the stock DPI
jedld said:
Wish Granted. As a bonus, the latest version of the ROM is now deodexed and Xposed, please refer to the main post for the updates.
Feedback is appreciated.
Click to expand...
Click to collapse
Thanks. Will need to find time to re-flash this weekend.
Regarding xposed have you actually tested any other modules that need root?
I already built a rom with xposed but it was all but useless because pretty much all the modules I use need root.
most of those I tried don't need root so far (youtube adaway, pokemon go iv). Haven't tried those that need root but I suppose those wouldn't work.
I use app settings and it works for dpi change, and you are welcome. I am glad to test stuff, its fun haha. If anyone has questions about t280 you can ask me
how can i boost the volume? since its not rooted i cant find the mixer.xml

Categories

Resources