Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Enable INIT.D] Only For Huawei KitKat B510 !

OP surdu_petru

12th June 2014, 02:48 PM   |  #1  
surdu_petru's Avatar
OP Recognized Contributor
Flag Paris
Thanks Meter: 8,561
 
3,598 posts
Join Date:Joined: Feb 2010
Donate to Me
Hello !

By following this post, you can already enabled init.d functions in your stock rom Huawei Firmware B510 ( CN Beta or International ) !

* enabled init.d via kernel ;

* root your device ;

* installed latest update for Supersu ;

* installed busybox !


Downloads :

Installations :
  • your device must be updated to Huawei Beta B510 or the last update.zip - Officially International B510 ;
  • flash TWRP 2.7.0.0 ;
  • install enable-initd.zip in twrp ;
  • wipe not require ;
  • enjoy !


Application :
  • you just need to copy your favorite scripts in /system/etc/init.d
  • Exemple :
  • adb push tweaks_memory /data/local/tmp
  • adb shell
  • su
  • mount -o remount,rw /system
  • cp /data/local/tmp/tweaks_memory /system/etc/init.d/tweaks_memory
  • exit
  • exit
  • adb reboot
  • tweaks_memory will be run every time when device boot !

Here you are two scripts for general optimization with zipalign & sqlite3 .

tweaks.zip

Just flash in TWRP, no wipe require !

After flash this .zip you should check /data/local for more info .


Best regards !
Last edited by surdu_petru; 12th June 2014 at 03:07 PM.
The Following 9 Users Say Thank You to surdu_petru For This Useful Post: [ View ]
12th June 2014, 07:20 PM   |  #2  
raptor92's Avatar
Senior Member
Thanks Meter: 36
 
248 posts
Join Date:Joined: Nov 2010
More
Maybe a stupid question...bootloader must be unlocked right? thx
12th June 2014, 07:36 PM   |  #3  
surdu_petru's Avatar
OP Recognized Contributor
Flag Paris
Thanks Meter: 8,561
 
3,598 posts
Join Date:Joined: Feb 2010
Donate to Me
Quote:
Originally Posted by raptor92

Maybe a stupid question...bootloader must be unlocked right? thx

Yes you are right, mate , but if I'm not wrong I think KitKat comes already with unlocked bootloader .

Anyway if your bootloader is still locked , you can try this stuff .

Good luck !
The Following User Says Thank You to surdu_petru For This Useful Post: [ View ]
12th June 2014, 10:07 PM   |  #4  
isaacv19's Avatar
Senior Member
Thanks Meter: 17
 
115 posts
Join Date:Joined: Jun 2012
More
I install init.d with this application and worked for me, having the b510 Rom

http://forum.xda-developers.com/show....php?t=1933849

Enviado desde mi HUAWEI P6-U06 mediante Tapatalk
The Following User Says Thank You to isaacv19 For This Useful Post: [ View ]
19th June 2014, 09:48 PM   |  #5  
raptor92's Avatar
Senior Member
Thanks Meter: 36
 
248 posts
Join Date:Joined: Nov 2010
More
Can you add some more tweaks please??
24th June 2014, 08:23 PM   |  #6  
Senior Member
Flag Bucharest
Thanks Meter: 15
 
114 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by surdu_petru

Hello !

By following this post, you can already enabled init.d functions in your stock rom Huawei Firmware B510 ( CN Beta or International ) !

* enabled init.d via kernel ;

* root your device ;

* installed latest update for Supersu ;

* installed busybox !


Downloads :



Installations :
  • your device must be updated to Huawei Beta B510 or the last update.zip - Officially International B510 ;
  • flash TWRP 2.7.0.0 ;
  • install enable-initd.zip in twrp ;
  • wipe not require ;
  • enjoy !


Application :
  • you just need to copy your favorite scripts in /system/etc/init.d
  • Exemple :
  • adb push tweaks_memory /data/local/tmp
  • adb shell
  • su
  • mount -o remount,rw /system
  • cp /data/local/tmp/tweaks_memory /system/etc/init.d/tweaks_memory
  • exit
  • exit
  • adb reboot
  • tweaks_memory will be run every time when device boot !

Here you are two scripts for general optimization with zipalign & sqlite3 .

tweaks.zip

Just flash in TWRP, no wipe require !

After flash this .zip you should check /data/local for more info .


Best regards !

Can you tell me please how can i uninstall the scripts? (tweaks.zip)
thank you.
6th October 2014, 09:57 PM   |  #7  
Senior Member
Flag Bucharest
Thanks Meter: 15
 
114 posts
Join Date:Joined: Apr 2011
More
Hello @surdu petru.
Thank you for your work.
Can you develop init.d support for B634 kernel?
Thank you.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes