Disclaimer:
I am not responsible for bricked devices or you getting fired because the alarm app failed. Please do some research before making any system modification. You are choosing to make these changes at your own risk and if you point the finger at me for messing up your device, I will laugh at you.
I noticed that most users wanted to have the Pixel Experience for this device and one main reason why we don't was because of those hardware keys which is not in line with Google's stock android.
Thanks to @Tulsadiver for providing the zip which works fine with a/b partition, giving me less work to do.
Below, you'll find how to:
- Enable On-Screen Navigation Bar
- Disable Hardware Capacitive Keys
- Disable Hardware Capacitive Key Lights
- Install Pixel Navigation Bar with animation
Your device needs to be rooted and with TWRP installed
A file manager app with root access
There is no other way to achieve this without having root access
1. To enable on-screen navigation bar:
Navigate to this path: root/system/
Edit the file: build.prop
Insert below code anywhere or at the bottom then save changes.
qemu.hw.mainkeys=0
2. To disable hw keys:
Navigate to this path: root/system/usr/keylayout/
Edit the file: ft5435_ts.kl
At the bottom you'll find below:
key 139 MENU VIRTUAL
key 172 HOME VIRTUAL
key 158 BACK VIRTUAL
To disable those, just put # before the word "key" then save changes.
3. To disable hw key lights:
Navigate to this path: sys/devices/soc/leds-qpnp-10/leds/button-backlight/
Edit the values of below from 10 to 0 then save changes
brightness
max_brightness
Reboot your device for the changes to take effect.
To enable Pixel Navigation Bar with animation, just download the file: [PORT]PixelNavBar-tissot.zip and flash it via TWRP.
(Note: the ozop.zip file is to revert back the changes)
When I try to open the brightness and max_brightness with MiXplorer I get a "failed" message. I am rooted using CFAutoroot.
tosmopolitan said:
When I try to open the brightness and max_brightness with MiXplorer I get a "failed" message. I am rooted using CFAutoroot.
Click to expand...
Click to collapse
Use x-plore app from Play Store.
MarkerBeanXDA said:
Use x-plore app from Play Store.
Click to expand...
Click to collapse
Thanks, worked perfectly!!
MarkerBeanXDA said:
I noticed that most users wanted to enable the on-screen navigation bar and disable the hardware keys including its light to get a better stock android experience.
Below you'll find the steps on how to do just that:
First of all, you need to be rooted and and install a file manager app with root access
There is no other way to achieve this without having root access.
1. To enable on-screen navigation bar:
Navigate to this path: root/system/
Edit the file: build.prop
Insert below code anywhere or at the bottom then save changes.
qemu.hw.mainkeys=0
2. To disable hw keys:
Navigate to this path: root/system/usr/keylayout/
Edit the file: ft5435_ts.kl
At the bottom you'll find below:
key 139 MENU VIRTUAL
key 172 HOME VIRTUAL
key 158 BACK VIRTUAL
To disable those, just put # before the word "key" then save changes.
3. To disable hw key lights:
Navigate to this path: sys/devices/soc/leds-qpnp-10/leds/button-backlight/
Edit the values of below from 10 to 0 then save changes
brightness
max_brightness
Reboot your device for the changes to take effect.
Click to expand...
Click to collapse
Nice
But when we reboot, Lights are enabled.
We have to bring down max brightness to 0 once again.
Is there any permanent method to disable backlight?
Wow thanks. Can you also guide on how to enable night light?
Vasu Netha said:
Nice
But when we reboot, Lights are enabled.
We have to bring down max brightness to 0 once again.
Is there any permanent method to disable backlight?
Click to expand...
Click to collapse
Are you rooted with CF-Auto-Root?
MarkerBeanXDA said:
Are you rooted with CF-Auto-Root?
Click to expand...
Click to collapse
Yes
Vasu Netha said:
Nice
But when we reboot, Lights are enabled.
We have to bring down max brightness to 0 once again.
Is there any permanent method to disable backlight?
Click to expand...
Click to collapse
same problem, how to permanently off the button light?
NavBar not giving animation
i recently try this method to add nav button. then i installed xposed and pixel nav button module. but, the animation not running well. on my other device the home button's ring rotating while charging. but on mi a1 its not animating
How to swap back and recent key?
Please find out a way to disable hw key lights permanently..
Ripon Raihan said:
Please find out a way to disable hw key lights permanently..
Click to expand...
Click to collapse
Looking into it.
Aman301582 said:
How to swap back and recent key?
Click to expand...
Click to collapse
Try swapping their values.
key 139 BACK VIRTUAL
key 172 HOME VIRTUAL
key 158 MENU VIRTUAL
MarkerBeanXDA said:
Try swapping their values.
key 139 BACK VIRTUAL
key 172 HOME VIRTUAL
key 158 MENU VIRTUAL
Click to expand...
Click to collapse
Swap is working!
Ripon Raihan said:
same problem, how to permanently off the button light?
Click to expand...
Click to collapse
Pretty sure you change the permission to read only so the system can't edit it. Could be wrong. Do it at your own risk.
envy63 said:
i recently try this method to add nav button. then i installed xposed and pixel nav button module. but, the animation not running well. on my other device the home button's ring rotating while charging. but on mi a1 its not animating
Click to expand...
Click to collapse
Try to flash the zip provided in this thread instead
Can you create a magisk version?
+1 for a Magisk version
another +1 for a magisk version
Related
NOTE: THIS GUIDE WILL WORK ANY ANDROID DEVICE BUT HAS FEW EXTRA PRE-SUGGESTED LINKS FOR GALAXY ACE PLUS USERS.
Click to expand...
Click to collapse
Special Thanks to -
dsixda for his awesome kitchen. Please Hit Thanks button for him.
inspired by isidromxz's thread.
Please kindly remind me if i have forgotten to write any name in thanks section, i have collected all things from many many sources and with modification.
Click to expand...
Click to collapse
Who is this tutorial for?
Absolute Beginners.
People with little or no programming skills.
people who really want to learn how to make custom rom's
people who want to learn android and don't know where to start.
Click to expand...
Click to collapse
Tools Required : (Update them manually and report me dead links please)
Java JDK FROM HERE OR JAVA.SUN.COM - FOR INSTALLING CYWIGN
(WARNING: Do not install Cygwin before the JDK!!
Click to expand...
Click to collapse
Cywign Direct Download- Linux Terminal For Windows
Android Kitchen (ROM Development Tool)- For Cooking custom ROM and many more things, Please update this Kitchen to latest version when available.
Official Link to dxda's Kitchen - Official Thread and Github source. Please refer FAQ on official thread for Kitchen related problems.
Click to expand...
Click to collapse
Demo META-INF Folder Download- For Making Flashable zip files and comparing updater script.
Custom Booting.zip - for custom boot animation
notepad++ - for editing files like build.prop, updaterscript
MOST IMPORTANT TOOL YOUR BRAIN... AND ALSO LOTS OF TIME... [DOWNLOAD LINK NOT AVAILABLE...lol]
Click to expand...
Click to collapse
Step one: Installing the JAVA JDK, Cygwin and Setting up the Kitchen.
*Before you do anything install the java jdk*
Try this Dsixda Kitchen Install Picture Tutor(recommended)
OR
watch this video tutorial by gitagaire for how to setup cygwin and kitchen(recommended)
Click to expand...
Click to collapse
INSTRUCTIONS
Download and extract the cygwin_packages.zip
Run the set up(make sure there is no previous cygwin installation)
NOTE: INSTALL CYGWIN IN ROOT DISK LIKE C:\
Follow the kitchen read me txt!!!
local package directory *must* be the path to the cygwin_packages folder that you just extracted
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
when it shows all the package names, go to the top and select "all default" until it changes to "all install" (you must click on the arrows)
Click to expand...
Click to collapse
Download the kitchen from above. Then, extract the kitchen's .zip file to a folder under your home account. Rename the dsixda-android-kitchen-*** folder to just "kitchen". In Cygwin, this folder would depend on what was set for your Cygwin install directory, e.g. C:\cygwin\home\John\kitchen
NOTE!! If your user folder contains spaces (e.g. C:\cygwin\home\John Smith\kitchen), then the kitchen will not function properly. Instead, copy it under C:\cygwin\home\kitchen.
Now your ready to run the kitchen type:
those who have their kitchen like this C:\cygwin\home\John\kitchen use these commands given below.
cd kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
those who have their kitchen like this C:\cygwin\home\kitchen use these commands given below.
cd ../kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
If you did things right you should see this:
congratulations!!
Click to expand...
Click to collapse
Step Two: Setting up a working folder
THERE ARE TOW METHODS FOR THIS.
1. WHEN YOU HAVE BASE ROM AVAILABLE.
2. WHEN YOU DON'T HAVE BASE ROM.
FIRST METHOD -
First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
Inside the kitchen it should look like this:
Now we need a rom to work on, for GALAXY ACE PLUS[s7500] users i will recommend this rom by blackburner but you can use any rom.
Just Place the original rom zip in the original_update folder inside the kitchen.
run the cygwin.exe again type:
Code:
cd kitchen(enter)
./menu(enter)
now enter option 1, enter again. You should see your rom listed, choose and enter
you will be asked about changing the working folders name, at this point it makes no difference so just continue.
congratulations you have a working folder!!!
SECOND METHOD - this method is by neroyoung
FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
IT SHOULD LOOK LIKE THIS
cygwin folder/home/your user name/kitchen/WORKING_(your rom name)
Click to expand...
Click to collapse
NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
2. SYSTEM FOLDER - TUTORIAL BELOW
3. BOOT.IMG - TUTORIAL BELOW
2. getting system folder
(NOTE - YOU MUST BE ROOTED FOR THIS MEDHOD)
This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
we need freshly flashed device here. OTHERWISE YOU WILL HAVE LOT OF JUNK FILES.
Open it and type:
su
tar -c system/* >> sdcard/system.tar
Click to expand...
Click to collapse
This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.
After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)
/etc
/fonts
/framework
/lib
/lost-found
/media
/sd
/semc
/usr
/xbin
build.prop
And some other files and folders like ""autorooted,kernel files" etc
Click to expand...
Click to collapse
Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
If it dont have semc folder no need to worry.
NOTE: YOU CAN ALSO GET THIS SYSTEM FOLDER BY USING ANY ROOT BROWSER. JUST FIND THIS FOLDER AND COPY/EXTRACT TO SDCARD
NOW COPY THIS system FOLDER TO WORKING FOLDER
3. getting boot.img
Here we have 2 options
1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
2. custom boot.img from custom kernel - kernel which are modified for overclock or other features
1. getting stock boot.img from stock rom.
extract your stock rom with winrar or 7zip. you will see boot.img there. copy it to working folder
2. getting custom boot.img from custom kernel.
download any custom kernel which is only for your device. [galaxy ace plus [s7500] users get from here or here]
extract it with winrar or 7zip and copy boot.img to working folder
NOTE: many of new devices have kernel.bin and other files instead of boot.img so skip this part if your device don't have it...
Click to expand...
Click to collapse
Step Three :change/modify/update rom
YOU CAN MODIFY YOUR ROM IN TWO STEPS:
MODIFY USING ANDROID KITCHEN - for basic modification.
MODIFY MANUALLY. - for advanced modification.
1. MODIFYING USING ANDROID KITCHEN
watch this amazing tutorial by neroyoung on how to editing rom with kitchen
NOTE: DON'T FORGET TO DEODEX YOUR ROM
Click to expand...
Click to collapse
2. MODIFYING MANUALLY.
FOR ALL ANDROID PHONES (ESPECIALLY FOR GINGERBREAD ROMS) USE THIS GUIDE FOR COOL MODS. like center clock,CRT animation, ics and jelly bean style mods etc... ANOTHER GUIDE BY ME
Adding/removing applications
1. Go to the working folder where you extracted your rom, inside you will find:
OR
2. Then go to "system/app" inside this folder you will find all the rom applications(apks) you may also find some in the data folder if your rom has this folder.
3. Copy, replace, and change any app(apk) be carefull if you dont know what the apk is do not delete!!
LIST OF APPS YOU CAN DELETE - HERE OR HERE
If you can not find some apps in this guide then try opening all those app in your phone and see app name and icon or move those apps from system/app to sdcard and see what is not working...
Adding new boot animation
android kitchen doesn't works for this in Samsung phones. So we need a different method.
1) Download and extract the bootanimation and samsungani file from Custom Booting.zip attached in first post.
2) Put them in the /system/bin folder and replace the existing files there
3) Now download any boot animation, and rename the bootanimation to “sanim.zip”.
4) Now, navigate to /system/media and replace the “ODEanim” with “sanim.zip”
You are done with the bootanimation change
customizing the theme
1. replace stock launcher with launchers like nova launcher
2. theming using uot kitchen (fonts, status bar, batery and other icons etc
watch this amazing toutorial by jdlogan151
Click to expand...
Click to collapse
Edit the gps script for your country/location
1. In the workingfolder/system/etc/ you will find a file named gps.conf, you can
edit this file with notepad++ or even word.
2. using the right gps script in this file can speed up gps lock, you can
find some from angeldeath, download extract and replace the gps.conf.
Adding ringtones :
Take your ringtone file...it should be in .ogg format..If not then convert it to .ogg..
Locate to the folder system>media>audio>ringtones>
Copy and paste your .ogg files here in ringtones folder..
You can also change notifications, alarm and UI tones like this..
Changing the Fonts :
Take your desired font.ttf file and rename it as DroidSans.ttf..
Locate to the folder system>fonts>
Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
To change the lock screen clock font...replace the Clocktopia.ttf with your desired one..(rename first)..
build.prop tweaks!!
check this or this or this post for build.prop
NOTE: EDIT BUILD.PROP WITH NOTEPAD++. SIMPLE NOTEPAD WILL CORRUPT THE FILE.
adding mods and scripts...
download mods and scripts from links below and copy past all files in same folder as your rom... like for init.d scripts add them to system/etc/init.d/here and all permissions in updater script to your updater script...(dont forget to give them credit for it...)
links:-
[TweakZV6] Init.d best tweaks[Flashable] Increase your performance by [email protected]
Collection build.prop; init.d; etc. by optik19918
init.d Tweaks collection by dsexton702
[SCRIPTS][TWEAKS][CWM]SlaidyBoost-V2.3 by slaid480
[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine by ImbaWind
V6 SuperCharger by zeppelinrox
[SCRIPTS]CronMod-A2SD/D2EXT/INT2EXT by croniccorey
Xloud and Bravia engine by aiman112
AwesomeBEATS™ v.3 by ...Awesome...
(MOD)Beats Audio(2.3+up) by RockoDev
Tuned MegaBassBeat by kurotsugi
Maximum MultiTasking Mods + V6 SuperCharger BY zeppelinrox
[AROMA] Beats Mode - Enhanced Beats sound V7.5 by MemAllocatoR
Interactive Phone Modification [GUIDE]
ICS Style 'Settings.apk' - Make it yourself by balamu96m
StatusBar Tweaks by Master&Slave™
Change lockrings on any rom by daveyannihilation
change ICS lockscreen animation to Honeycomb style by evilisto
S Voice for any devices [ICS] by PlaYOuT
Implement Swipe to Remove Notification by hansip87
Remove SMS log from Call log by wilfredcool007
Activate the rotation of the lockscreen by GalaxyUser
How to use AROMA INSTALLER in any ROM/MOD by pankaj88
All in one tweaks build.prop,init.d,Wifi,Xloud,Bravia,A-Gps,A/V Sync,Modules by XtremePeople
Add 6 lockscreens Mod + Lockscreen Gestures by pratyush.creed
How to add customizable 14 statusbar toggle buttons for samsung ROM by lidroid
Create a custom notification dropdown by jeffsanace
these are few i love, find more yourself...
MORE WILL BE ADDED SOON...
MORE ADVANCE MODIFICATION (not advised for beginners)
editing .apk files
THERE ARE TWO BEST TOOLS FOR EDITING .APK FILES
1. APKTOOLS
This video by neroyoung teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files.
2. APK Manager
this video by adgoosuc teaches you How to unpack,repack and sign an APK File with APK Manager
Click to expand...
Click to collapse
[*]Editing .JAR Files
In this video by neroyoung you will get information on how to edit .jar files like services.jar using APKTOOL.
Click to expand...
Click to collapse
[*]THEMEING .apk FILE
HERE IS A AWESOME TUTORIAL BY Andrewtst FOR THEMEING ANY .apk FILE.
for porting themes:
1. download and extract theme you want to port.
2. open both apk(base and port) in 7zip/winrar
3. drag and replace png files with same name
this works with only png files not with xml and others
FOR THEMING YOUR ROM YOU CAN EDIT framework-res.apk AND GET MANY COOL THINGS
LIKE you can change smiles, default wallpaper, default lockscreen wallpaper, add 14 toggle mod and many cool things...
for that use Framework Flasher or apktools or any other tool and do changes manually.
CHECK THIS GUIDE BY dully79 TO KNOW WHICH FILES YOU CAN MODIFY AND HOW.
HERE ARE FEW MORE COOL GUIDES -
ICS Style 'Settings.apk' BY balamu96m
Implement Swipe to Remove Notification BY hansip87
add customizable 14 statusbar toggle buttons for samsung ROM BY lidroid
FOR MORE SEARCH MORE...
Click to expand...
Click to collapse
CHANGING HARD KEY FUNCTION (REMAPPING BUTTON)
1. open /system/usr/keylayout/[phone model]-keypad.kl with notepad++
(Some phone may have different names, but it will always end with "keypad.kl)
it will look like this --
Code:
# Copyright (c) 2011, Code Aurora Forum.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# [url]http://www.apache.org/licenses/LICENSE-2.0[/url]
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 158 BACK WAKE_DROPPED
key 230 HOME WAKE
key 60 SOFT_RIGHT WAKE
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 228 POUND
key 227 STAR
key 231 CALL WAKE_DROPPED
key 61 CALL WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 102 ENDCALL WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 212 SLASH
key 213 DEL WAKE_DROPPED
key 355 DEL WAKE_DROPPED
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 14 DEL
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 28 ENTER
key 56 ALT_LEFT
key 42 SHIFT_LEFT
key 215 AT
key 57 SPACE
key 53 SLASH
key 127 SYM
key 100 ALT_RIGHT
key 399 GRAVE
HERE YOU WILL FIND 3 ROWS...
1. As you can see, there are different attributes assigned to each key. like this
Code:
key 102 HOME
key 139 MENU
key 158 BACK
key 115 VOLUME_UP
key 114 VOLUME_DOWN
2. Specific application/action launchers:
Code:
HOME #Launches "Home"
MENU #Launches "Menu"
BACK #Takes you back to the last activity
SEARCH #Launches "Universal Search"
CALL #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL #Ends a call
CAMERA #Launches "Camera" activity and corresponding .apk
FOCUS #Initiates Auto-Focus while using the Camera
VOLUME_UP #Self explanatory
VOLUME_DOWN #Self explanatory
3. And attributes saying if it should wake the phone at button push to complete the action, or if it should just complete the action without waking the screen.
Code:
WAKE #Completes the action without waking the screen
WAKE_DROPPED #Wakes the phone to complete the action
Click to expand...
Click to collapse
2. NOW WE WILL EDIT SECOND AND/OR THIRD ROW
Erase the center row value for any key to completely disable it. To reassign the key, replace the center row value with another one from the same row. Change the right row value to either "WAKE" or blank to enable the wake function. Do not modify the left row.
NOTE: don't edit left row i.e. first row which contains specific key identity number.
FOR EXAMPLE I DO THESE CHANGES
DEFAULT VALUES ---
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
CHANGED VALUES ---
Code:
key 115 CAMERA WAKE
key 114 FOCUS WAKE
NOW VOLUME UP KEY WILL WORK AS CAMERA KEY AND VOLUME DOWN KEY WILL WORK AS FOCUS KEY....
NOTE: all words should be in BOLD letters i.e. capital letters...
Click to expand...
Click to collapse
MORE COMING SOON
FOR ADVANCE ROM DEVELOPMENT GUIDES (like porting rom) SEE THIS COLLECTION BY F3niX
Step Four: repackage the rom
AFTER YOU HAVE DONE ALL CHANGE/MODIFICATION YOU WANTED OPEN CYGWIN AGAIN AND TYPE
cd kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
now convert update script to updater script(in option 23)
now lets edit updater script(optional)
Thanks to user langthang for a great updater-script guide.
Download it HERE
Click to expand...
Click to collapse
the updater-script basically tells CWM what steps to take during the installation(flashing rom).
If you don't have any experience please don't edit anything other than what is in this simple tutorial.
TO EDIT UPDATER SCRIPT -
1.Go to META-INF/com/google/android
2.Open the updater-scrip file with Notepad++
3.Any text that would appear during the CWM install should be in this format :
Code:
ui_print("Put your text in HERE");
Add your text start at top and save,
then replace with new updater-scrip
IF YOU GET ANY ERROR YOU CAN COMPARE YOUR UPDATER SCRIPT WITH MINE (attached in 1st post)
NOTE: DO NOT COPY WHOLE UPDATER SCRIPT JUST EDIT PART WHERE YOU GET ANY ERROR...
most common errors will be in mount, remount part in starting and end and boot.img installing part... so replace only those lines....
AND AT LAST
[*]Now that you have made some changes it's time to pack the rom and test!!
Run the cygwin and type
cd kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
enter option 99 - "biuld rom from working folder"
Choose your build option and few more enters
I recommend that you go with all default options until you get more experience with the kitchen.
When rom is packed and signed it will ask to change rom zip name (type name of your rom)
When its all done you will find a folder inside "cygwin/home/yousername/kitchen" called output_zip
Inside the folder is your new rom ready to be flashed and tested!!!
IF YOU WANT THAN YOU CAN MAKE CWM FLASH ABLE ZIP'S MANUALLY USE THIS TOOL BY I.AM.H3RO
congratulations you have build your own rom
TROUBLESHOOTING (by hell_lock)
If you are facing java related problem with cygwin than refer to this post. and Google search
If you get problems in installing a rom then compare your updater-script in META-INF folder with one attached in first post.
If you have a rom without kernel then remove these lines:
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
NOTE: mmcblk0p8 can be different with different devices... this works fine with galaxy ace plus...
If there is a package error then extract the files of the rom and repack them using any compression software.
If rom installed correctly but stuck onto logo screen?? Then remove try removing kernel and flashing rom again.
If rom installed correctly but got onto bootloop then there could be many possibilities which could lead to this. If you want accurate cause of it then do a logcat.
If there are some apk's which are not working then check if you correctly modded them.
For status errors like status error 0, status error 6, status error 7 see this guide by Tha TechnoCrat and for rest go here and type your error.
NOTE: Most of the problems occur because of updater-script problems so before trying any of the troubleshooting try the first tip.
IF YOU HAVE ANY QUESTIONS OR PROBLEMS FEEL FREE TO POST HERE OR PERSONAL MESSAGE ME.
omg all my thanks goes for you today
●๋•ηι¢є ιηƒσ●๋•
how about using dsixda, toolchain etc in linux? would u please add some tutor for that...even i guess it has the same way... i mean in ubuntu what version of dsixda that work well and what lib is needed for that? cos i have made my own kernel on my last device galaxr fit(gt-s5670) that use armv6 procie..maybe it need diferent type n bersion of tools?
thanks in advance
Sent from my GT-S7500 using xda app-developers app
Sorry i dont use lunix so i know nothing about it..... there are more threads related to this... they can help you....
Sent from my GT-S7500 using xda premium
Can i use this for micromax funbook tablet?
Yes it will work on any device... good luck
Sent from my GT-S7500 using xda premium
Had a quick read through, seems fairly easy to get started, so thanks for that!
What I want to achieve is to be able to take an existing ROM, and customise it for my organisation. I want to be able to remove the initial set up that you get when you flash a new ROM, e.g. name, Google account etc. Do you know how I would achieve this, or the files I would need to edit?
I also want to remove some APKs and preload some APKs, I think I know how to do this its just a case of replacing them in the system folder?
Also I want to preload some Wifi settings on so set it to know our SSID and PSK, is this something which is possible?
Thanks for your help!
fro5tie said:
Had a quick read through, seems fairly easy to get started, so thanks for that!
What I want to achieve is to be able to take an existing ROM, and customise it for my organisation. I want to be able to remove the initial set up that you get when you flash a new ROM, e.g. name, Google account etc. Do you know how I would achieve this, or the files I would need to edit?
I also want to remove some APKs and preload some APKs, I think I know how to do this its just a case of replacing them in the system folder?
Also I want to preload some Wifi settings on so set it to know our SSID and PSK, is this something which is possible?
Thanks for your help!
Click to expand...
Click to collapse
1st for rom you will use as base, get permission of its developers before doing it...
2nd the setup wizard you are talking about(i guess where we have to touch android) is by app in system/app named SetupWizard.apk but i think you should not delete it. it also controls few other things.
3rd replace/delete app you know about...(system/app)
4th i don't know much about preloaded settings... all i know is you will need to edit smali files of apk....
Hi
I've been playing around with this, I've extracted the ROM to a working folder and made a few changes, e.g adding and removing APKs. Then I've repackaged the ROM, but when I copy the .zip onto my SD card and try flashing it, I get an error:
Install /sdcard
Finding update package
Opening update package
Verifying Update package
E:signature verification failed
Installation aborted
I can't install CWM on this device so its just using the Android System Recovery 3e
Is there something else I have to do to get it flashable?
hiii
okay.. so first get cwm recovery as you say you dont have cwm... then while making a zip with android kitchen make sure when it ziplangs all apks then it signs your rom zip... make sure you press enter or press y and then enter...
while flashing rom with cwm you get this error again then in 'ïnstall zip from sdcard' select 'toggle signature verification' then try again if still no luck rply back....
and it seams like you used this guide and you found it helpful i guess and you dint even pressed a thanks button... i don't know why you guys enjoy all stuff and don't even press thanks button.. i am not asking you for money... it wont cost you anything...
fro5tie said:
Hi
I've been playing around with this, I've extracted the ROM to a working folder and made a few changes, e.g adding and removing APKs. Then I've repackaged the ROM, but when I copy the .zip onto my SD card and try flashing it, I get an error:
Install /sdcard
Finding update package
Opening update package
Verifying Update package
E:signature verification failed
Installation aborted
I can't install CWM on this device so its just using the Android System Recovery 3e
Is there something else I have to do to get it flashable?
Click to expand...
Click to collapse
Hi
Thanks for this, I've got it sorted now.
I can't install CWM as its not compatible with my device, but it was just that the zip needed signing for my device. I found info on another forum to sign it properly, and its flashing fine now.
Thanks for your help.
fro5tie said:
Hi
Thanks for this, I've got it sorted now.
I can't install CWM as its not compatible with my device, but it was just that the zip needed signing for my device. I found info on another forum to sign it properly, and its flashing fine now.
Thanks for your help.
Click to expand...
Click to collapse
Wich device you have?
use this to make your own cwm recovery.... http://builder.clockworkmod.com/
fro5tie said:
Hi
Thanks for this, I've got it sorted now.
I can't install CWM as its not compatible with my device, but it was just that the zip needed signing for my device. I found info on another forum to sign it properly, and its flashing fine now.
Thanks for your help.
Click to expand...
Click to collapse
androsamace said:
Wich device you have?
Click to expand...
Click to collapse
Its an Ainol Novo 7 Elf 2 (chinese tablet)
lokeshsaini94 said:
use this to make your own cwm recovery.... http://builder.clockworkmod.com/
Click to expand...
Click to collapse
I'll take a look.
HTC One X
- no ROM support, but de-odexing only! (Here is the guide to de-odex)
So i wanted to start building a ROM the easy way, guess I have to find the manual method..
i dont know what are you talking about... here is link for htc one x roms
http://onexroot.com/category/one-x-roms/
xSilv85 said:
HTC One X
- no ROM support, but de-odexing only! (Here is the guide to de-odex)
So i wanted to start building a ROM the easy way, guess I have to find the manual method..
Click to expand...
Click to collapse
Oh i mean the kitchen.. not suited for htc one x is stated in the op.
Sent from my HTC One X using Tapatalk 2
Automated Framework Kit
by Themike10452
\\======\_______________/======//
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Reading is fun . . . reading is helpful . . . reading helps you not to ask silly questions . . . so READ!
This AIO toolkit includes 3 main MS-DOS scripts:
\\AFK//About AFK
• It's a tool with a graphical interface, to manipulate your framework-res.apk, mainly to enable On-Screen Buttons and USB Mass Storage on all Android 4 ROMs.
• It has other features too, such as resizing On-Screen Buttons, enabling/disabling CRT screenOff animation, enabling lockscreen rotation, etc...
• It has the ability to create recovery flashable zips to install your custom framework and revert changes if you want to.
How to use it
• After you have installed the toolkit launch Automated_Framework_Kit_vXX.cmd
• You must have JDK installed on your machine in order to use AFK/Workbot.
• Browse for your framework-res.apk
• Choose the options you want from the graphical menu.
• When done customizing your framework hit Finish/Compile.
• You will br prompted to create recovery flashable zips.
• Collect your goodies from #collect-your-goods-here folder as always.
• Whatever follows is up to you.
○ It is recommended to use Cleanup script when you are done, be careful! your goodies will be erased.
Click to expand...
Click to collapse
\\Workbot//About Workbot
• It's a time-saving script that does what AFK does in much less time because:
- It has no graphical interface.
- It does not require user input.
- It works according to pre-defined settings stored in Settings.ini under Workbot_Settings section.
How to use it
• Launch Workbot.cmd
• Check the displayed settings, if you agree on these settings hit Y to continue.
• If you don't agree on the settings hit N to edit.
• After you get through the first page, drag and drop your framework-res.apk inside the black window and hit enter.
• Watch the magic happen in less than a minute (20s~40s if you have a decent PC)
○ You can just drag and drop your framework-res.apk on top of Workbot.cmd and the bot will do the work instantly based on the stored settings.
○ It is recommended to use Cleanup script when you are done, be careful! your goodies will be erased.
Click to expand...
Click to collapse
\\Stylist//About Stylist
• It's a simple script with a simple graphical interface.
• Its job is to skin your On-Screen Buttons with various button styles and colors.
• It stores more than 50 different styles with various colors.
How to use it
• Launch Stylist.cmd and drag and drop your SystemUI.apk inside the black window
○ Or, just drag and drop your SystemUI.apk over Stylist.cmd
• In, the menu press Preview to have a look at each softkey style
• Switch through pages using the buttons in the bottom right corner.
• Click on the style you like and you will be prompted for confirmation.
• After you confirm your choice, the script will mod your SystemUI.apk and generate recovery flashable zips in seconds!
• Collect your goodies from #collect-your-goods-here folder as always.
○ It is recommended to use Cleanup script when you are done, be careful! your goodies will be erased.
Click to expand...
Click to collapse
Requirements:
• A DEODEXED Android 4+ ROM
• Microsoft Windows OS 32-bit/64-bit (winXP or later)
• Java Development Kit installed on your machine (JDK 6 or later)
Click to expand...
Click to collapse
Strong recommendations:
• Install the toolkit in a short directory with no spaces and special characters, ie: C:\AFK
• For better results copy the file aapt.exe from Tools folder to C:\Windows
Click to expand...
Click to collapse
Code:
[COLOR="Blue"][U][I]Changelog:[/I][/U][/COLOR]
[COLOR="Green"]-v5.0-[/COLOR][COLOR="Silver"](30-08-2013)[/COLOR]
- Flagship, first AIO complete release.
[COLOR="Green"]-v5.1-[/COLOR][COLOR="Silver"](18-09-2013)[/COLOR]
- Small script fixes and improvements.
- Added 'Compatibility\Requirements Scanner' script.
- Added an option in the installer to copy aapt.exe to C:\Windows (Heavily Recommended)
- Installing Stylist and Workbot scripts are now optional.
[COLOR="Green"]-v5.2-[/COLOR][COLOR="Silver"](1-11-2013)[/COLOR]
- Stylist script fixed and updated to v1.3
Don't forget to hit Thanks :good: and rate the thread as it deserves
Download
Please do not mirror download links.
Automated Framework Kit AIO v5.2 [exe][mediafire]
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to fix the BIG back button issue?
Click to expand...
Click to collapse
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code:
[color=green][b]
Credits
=======[/b][/color]
•[user=4954315]@Themike10452[/user]
•[user=4696863]@besttt[/user]
•[user=4748936]@milanjm[/user]
•[user=2968938]@raziel23x[/user]
•[user=2539590]@atticus182[/user]
•[user=2232731]@flip360[/user]
[b]And every XDA member who contributed in the development/debugging of this toolkit.[/b]
Everything is tested a million times before being released, but still, if you face any problem please let me know.
Don't forget to hit THANKS and rate the thread objectively.
Screenshots attached.
when apears that board loading resourche table ...only stay for 1 sec and gone i cant select anythink because disappears that happens if i start the bat normaly if i started with admin rights said Settings.ini missing but does not missing apears at files
besttt said:
when apears that board only stay for 1 sec and gone i cant select anythink because disappears
Click to expand...
Click to collapse
yeah I have this problem
erfandl said:
yeah I have this problem
Click to expand...
Click to collapse
have the ini got the correct permissions sometimes windows will drop the ini s in documents folder
buzzinkeegs said:
have the ini got the correct permissions sometimes windows will drop the ini s in documents folder
Click to expand...
Click to collapse
still does not work for me
Admin rights are not needed, and will also make the script loose the files around it like your running the script from another folder.
Try editing settings.ini and change USEMOUSE=1 to USEMOUSE=0, if it still does not work let me know. I never had these problems when testing the script, just remember no shortcuts and no "run as admin"
Quick fix [hopefully]
besttt said:
when apears that board loading resourche table ...only stay for 1 sec and gone i cant select anythink because disappears that happens if i start the bat normaly if i started with admin rights said Settings.ini missing but does not missing apears at files
Click to expand...
Click to collapse
Well here's a quick fix for you, I compiled the BATCH file into an executable so it doesn't loose its path when you run the tool as admin, just copy the exe file inside the app folder and run it as admin instead of the old batch file.
I also recommend placing the app in a short path with no spaces; Example: C:\AFK
DOWNLOAD:View attachment AFK_v1.0_FIX1.zip
Themike_10452 said:
Well here's a quick fix for you, I compiled the BATCH file into an executable so it doesn't loose its path when you run the tool as admin, just copy the exe file inside the app folder and run it as admin instead of the old batch file.
I also recommend placing the app in a short path with no spaces; Example: C:\AFK
DOWNLOAD:View attachment 1870355
Click to expand...
Click to collapse
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..
yes to navigation bar error bools.xml not found
yes to navigation size bar error dimens.xml not found
can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
besttt said:
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..
yes to navigation bar error bools.xml not found
yes to navigation size bar error dimens.xml not found
can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
Click to expand...
Click to collapse
Well to decompile APK from Android 4.2.2 I think I need a newer version of apktool.jar, I'm moving to cm10.1 soon, when I finish my exams I'll start working on it
Themike_10452 said:
Well to decompile APK from Android 4.2.2 I think I need a newer version of apktool.jar, I'm moving to cm10.1 soon, when I finish my exams I'll start working on it
Click to expand...
Click to collapse
also automatick cant load the framework resolution apk,,,, apears at folder you just choose to load at the file who must go to the framework resolution apk ,,,and does not loaded only manually if you copy the framework at the file
besttt said:
also automatick cant load the framework resolution apk apears a folder you just choose to load at the file who must go to the framework resolution apk and does not loaded only manually if you copy the framework at the file
Click to expand...
Click to collapse
I didn't understand a word bad english :/
Sent from my Xperia Arc S using xda premium
What does it do?
=============
= It edits your framework-res.apk and Enables Navigation Bar and USB Mass Storage (Android 4.x Only)
Click to expand...
Click to collapse
Dear Mr.Themike
Firstly, I thank you for your good work.
'Android 4.x only' means, will it work for 4.0.3 ?
I have Dapeng A9230+, running on Custom ICS 4.0.3.
I successfully made framework flashable files through your great guide. But after flashing through recovery, nothing changes. sorry.... there is no Navigation bar.
I think, something wrong myside ?
Best regards.
ramsuresh4 said:
Dear Mr.Themike
Firstly, I thank you for your good work.
'Android 4.x only' means, will it work for 4.0.3 ?
I have Dapeng A9230+, running on Custom ICS 4.0.3.
I successfully made framework flashable files through your great guide. But after flashing through recovery, nothing changes. sorry.... there is no Navigation bar.
I think, something wrong myside ?
Best regards.
Click to expand...
Click to collapse
I tested this tool on ICS 4.0.4 and I think it should work fine on 4.0.3, so here's a tip for you:
Choose Enable Navigation Bar in the app menu, after it's done minimize the app window and go to [dec] folder>[framework-res.apk]>[res]>[values] and look for bools.xml and open it with and XML editor or just wordpad, look for a string that looks like this one:
<bool name="config_showNavigationBar">true</bool>
If it's there than it's okay and everything is good
Now go again to the app menu and set the NavBar dpi to whatever you like ( 0 disables NavBar )
then go again to [dec]>[framework-res.apk]>[res]>[values] and look for dimens.xml and open it and check if the dimensions you set are right.
After that compile the apk and flash it, If all the previous work is done properly and no errors but still the NavBar doesn't exist then it's beyond my capability to analyse Wish u luck
Error creating CWM zips
Thanks for the tool Themike_10452 but i cant build cwm zips this is the error i get
Code:
Filename: framework_CWM_16229.zip
((Themike10452))
The system cannot find the path specified.
TCreated restore zip: framework_CWM_16229_restore
The system cannot find the path specified.
The system cannot find the path specified.
'zip.sfx' is not recognized as an internal or external command,
operable program or batch file.
TPress any key to continue . . .specified.
The system cannot find the file specified.
besttt said:
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..
yes to navigation bar error bools.xml not found
yes to navigation size bar error dimens.xml not found
can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
Click to expand...
Click to collapse
NOW AFK v2 is out, with CM10.1 Support
http://www.mediafire.com/?4o4nmst0kt0we7n
Themike_10452 said:
NOW AFK v2 is out, with CM10.1 Support
http://www.mediafire.com/?4o4nmst0kt0we7n
Click to expand...
Click to collapse
perfect my friend very good job i tested now that release suport both cm 10 and cm 10.1 still you have to change the value from ini mouse=1 to mouse=0 that works for me
besttt said:
perfect my friend very good job i tested now that release suport both cm 10 and cm 10.1 still you have to change the value from ini mouse=1 to mouse=0 that works for me
Click to expand...
Click to collapse
USEMOUSE=1 works for me. Thanks a lot my friend
Sent from my Xperia Arc S using xda premium
Tenacius D said:
Thanks for the tool Themike_10452 but i cant build cwm zips this is the error i get
Code:
Filename: framework_CWM_16229.zip
((Themike10452))
The system cannot find the path specified.
TCreated restore zip: framework_CWM_16229_restore
The system cannot find the path specified.
The system cannot find the path specified.
'zip.sfx' is not recognized as an internal or external command,
operable program or batch file.
TPress any key to continue . . .specified.
The system cannot find the file specified.
Click to expand...
Click to collapse
Thanks for reporting this problem. I'll work on it ASAP, meanwhile try using create_zip script, open it and drag the apk inside the Window and hit enter, a restore zip will not be created but it might work for you
++edit ++
I forgot to ask you, after getting the error can you find zip files inside the goodies folder? If yes what do they contain? Thanks
Sent from my Xperia Arc S using xda premium
Themike_10452 said:
I tested this tool on ICS 4.0.4 and I think it should work fine on 4.0.3, so here's a tip for you:
Choose Enable Navigation Bar in the app menu, after it's done minimize the app window and go to [dec] folder>[framework-res.apk]>[res]>[values] and look for bools.xml and open it with and XML editor or just wordpad, look for a string that looks like this one:
<bool name="config_showNavigationBar">true</bool>
If it's there than it's okay and everything is good
Now go again to the app menu and set the NavBar dpi to whatever you like ( 0 disables NavBar )
then go again to [dec]>[framework-res.apk]>[res]>[values] and look for dimens.xml and open it and check if the dimensions you set are right.
After that compile the apk and flash it, If all the previous work is done properly and no errors but still the NavBar doesn't exist then it's beyond my capability to analyse Wish u luck
Click to expand...
Click to collapse
Dear Mr.Themike,
Thanks for your Reply.
Bools.xml and dimens.xml, everything is perfect as you told. But after decompiling and flashing, there is no navigation bar. I have one doubt. What size we have to give for nav bar ?.(wvga screen).
If I give 37, it takes 37 for both 'height and width'.
Then, If my Rom is in 190 lcd density, the given size will work ? Or I have to be in system standard lcd density (240) for all nav bar sizes ?
Ok. Anyway, for the present Ics Rom, I have no success.... maybe Rom framework not compatible.
I have to try Other Ics and Lewa Roms.(for miui, I have working framework, which has nav bar).
Best Regards.
Sent from my Dapeng A9230+ through XDA mobile.
ramsuresh4 said:
Dear Mr.Themike,
Thanks for your Reply.
Bools.xml and dimens.xml, everything is perfect as you told. But after decompiling and flashing, there is no navigation bar. I have one doubt. What size we have to give for nav bar ?.(wvga screen).
If I give 37, it takes 37 for both 'height and width'.
Then, If my Rom is in 190 lcd density, the given size will work ? Or I have to be in system standard lcd density (240) for all nav bar sizes ?
Ok. Anyway, for the present Ics Rom, I have no success.... maybe Rom framework not compatible.
I have to try Other Ics and Lewa Roms.(for miui, I have working framework, which has nav bar).
Best Regards.
Sent from my Dapeng A9230+ through XDA mobile.
Click to expand...
Click to collapse
I have a MDPI device with 240 dpi, I use 24 dpi NavBar, slim and good looking
Sent from my Xperia Arc S using xda premium
Title^^
?
I have only power which is the stock option but is there a way to add more? like reboot and recovery
AppEx213 said:
Title^^
?
I have only power which is the stock option but is there a way to add more? like reboot and recovery
Click to expand...
Click to collapse
You have to root your phone for that. Check if Xposed support included for Android 5, if yes you can do that with Xposed
rajneeshk said:
You have to root your phone for that. Check if Xposed support included for Android 5, if yes you can do that with Xposed
Click to expand...
Click to collapse
Xposed does not run on Android 5 (ART runtime), xposed only runs on DALVIK
For the reboot options I'm fine with Simple Reboot by Francisco Franco - https://play.google.com/store/apps/details?id=simple.reboot.com&hl=de
Cheers
hr_kaleu said:
Xposed does not run on Android 5 (ART runtime), xposed only runs on DALVIK
For the reboot options I'm fine with Simple Reboot by Francisco Franco - https://play.google.com/store/apps/details?id=simple.reboot.com&hl=de
Cheers
Click to expand...
Click to collapse
Simple reboot is fine, but its still an app. I wanted something that is on the power menu.
Is there nothing you can do to the framework apk or system ui?
rajneeshk said:
You have to root your phone for that. Check if Xposed support included for Android 5, if yes you can do that with Xposed
Click to expand...
Click to collapse
Everyone and their mother knows that Xposed is incompatible with Lollipop.
AppEx213 said:
Simple reboot is fine, but its still an app. I wanted something that is on the power menu.
Is there nothing you can do to the framework apk or system ui?
Click to expand...
Click to collapse
You can flash a custom ROM with that option i.e. Cataclysm.
AppEx213 said:
Title^^
?
I have only power which is the stock option but is there a way to add more? like reboot and recovery
Click to expand...
Click to collapse
Not on the stock framework (if you are rooted) atm as Xposed doesn`t support ART yet and maybe never will.
Pure AOSP and stock do not have the functionality to add more reboot options.
Without modifying anything else, the only thing you can add is a shortcut to settings, airplane mode, and the silent/vibrate/sound-thing.
frameworks_base/core/res/res/values/config.xml
Code:
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
on the current state of the device.
Each item must be one of the following strings:
"power" = Power off
"settings" = An action to launch settings
"airplane" = Airplane mode toggle
"bugreport" = Take bug report, if available
"silent" = silent mode
"users" = list of users
-->
<string-array translatable="false" name="config_globalActionsList">
<item>power</item>
<item>bugreport</item>
<item>users</item>
</string-array>
Lethargy said:
Pure AOSP and stock do not have the functionality to add more reboot options.
Without modifying anything else, the only thing you can add is a shortcut to settings, airplane mode, and the silent/vibrate/sound-thing.
frameworks_base/core/res/res/values/config.xml
Code:
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
on the current state of the device.
Each item must be one of the following strings:
"power" = Power off
"settings" = An action to launch settings
"airplane" = Airplane mode toggle
"bugreport" = Take bug report, if available
"silent" = silent mode
"users" = list of users
-->
<string-array translatable="false" name="config_globalActionsList">
<item>power</item>
<item>bugreport</item>
<item>users</item>
</string-array>
Click to expand...
Click to collapse
So I decompile framework-res.apk go to values and edit config.xml, search for silent and change false to true?
AppEx213 said:
So I decompile framework-res.apk go to values and edit config.xml, search for silent and change false to true?
Click to expand...
Click to collapse
This part is commented out (isn't included when built/compiled, used in source to usually provide info) and won't appear when you decompile it:
Code:
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
on the current state of the device.
Each item must be one of the following strings:
"power" = Power off
"settings" = An action to launch settings
"airplane" = Airplane mode toggle
"bugreport" = Take bug report, if available
"silent" = silent mode
"users" = list of users
-->
It tells you the possible options you can use in the power menu array
See this part, which is the actual array:
Code:
<string-array translatable="false" name="config_globalActionsList">
<item>power</item>
<item>bugreport</item>
<item>users</item>
</string-array>
Bug report is shown only if you enable it in Settings > Developer Options and User selector is only shown if you have multiple users.
"silent" isn't in the array (config_globalActionsList), but its a possible option as stated by the comment in source code, so you can add:
Code:
<item>silent</item>
into the array where you want it to be, and it'll show up in the power menu. You can also add settings and airplane mode as stated by the comment.
Adding additional possible entries (like reboot) requires modifying other source code, which you'll have to compile AOSP to do anyways which defeats the purpose of specifically modifying stock, except maybe in a case like Cataclysm ROM by atl4ntis. Or edit smali.
That icon on the right with the white circular arrow saves all that, if you put it in the dock is a very good substitute. Plus it's a wide choice...
I know it's not baking something into the OS but those after a quick, useful workaround it's a winner
How exactly would I get this working? Do I need to compile just one .apk or a complete ROM? I feel like I cannot install Lollipop without silent mode working...
rien-ne-va-plus said:
How exactly would I get this working? Do I need to compile just one .apk or a complete ROM? I feel like I cannot install Lollipop without silent mode working...
Click to expand...
Click to collapse
Flash Lollipop then take out framework-res.apk, decompile it on your PC and add it into the array. Recompile and push back onto device.
Lethargy said:
Flash Lollipop then take out framework-res.apk, decompile it on your PC and add it into the array. Recompile and push back onto device.
Click to expand...
Click to collapse
I cannot confirm this to be working. I installed a custom Lollipop ROM which had the silent mode in the framework-res.apk activated but when pressing the button in the shutdown menu it would simply switch to the "important" mode, thus letting more through than desired. Doesn't seem to be the old silent mode. I pulled the file, too, and checked the array configuration...
rien-ne-va-plus said:
I cannot confirm this to be working. I installed a custom Lollipop ROM which had the silent mode in the framework-res.apk activated but when pressing the button in the shutdown menu it would simply switch to the "important" mode, thus letting more through than desired. Doesn't seem to be the old silent mode. I pulled the file, too, and checked the array configuration...
Click to expand...
Click to collapse
Here is allready thread by garynych: http://forum.xda-developers.com/goo.../mod-3-power-menu-stock-5-0-1-deodex-t2997128 with restart option in power menu for deodex rom and extended power menu without restart for odex rom. The second one has the same issue as in your description.
Regards, Zagor
So I understand you don't have a silent mode either using those files, correct? Thanks for the link
BirchBarlow said:
Everyone and their mother knows that Xposed is incompatible with Lollipop.
You can flash a custom ROM with that option i.e. Cataclysm.
Click to expand...
Click to collapse
except my mum knows the workaround for xposed for lollipop.
not fond at Sony stock lollpop
Elluel said:
Pure AOSP and stock do not have the functionality to add more reboot options.
Without modifying anything else, the only thing you can add is a shortcut to settings, airplane mode, and the silent/vibrate/sound-thing.
frameworks_base/core/res/res/values/config.xml
Code:
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
on the current state of the device.
Each item must be one of the following strings:
"power" = Power off
"settings" = An action to launch settings
"airplane" = Airplane mode toggle
"bugreport" = Take bug report, if available
"silent" = silent mode
"users" = list of users
-->
<string-array translatable="false" name="config_globalActionsList">
<item>power</item>
<item>bugreport</item>
<item>users</item>
</string-array>
Click to expand...
Click to collapse
i cant find config.xml in Sony lollipop stock 270 framework
any solution???
AppEx213 said:
is there a way to add more? like reboot and recovery
Click to expand...
Click to collapse
Do the same as I did - instal the app Link2SD. It's very usefull app and I have the option of restarting from there in more options - reboot, quick reboot, reboot to recovery.
Elluel said:
Pure AOSP and stock do not have the functionality to add more reboot options.
Without modifying anything else, the only thing you can add is a shortcut to settings, airplane mode, and the silent/vibrate/sound-thing.
frameworks_base/core/res/res/values/config.xml
Code:
<!-- Defines the default set of global actions. Actions may still be disabled or hidden based
on the current state of the device.
Each item must be one of the following strings:
"power" = Power off
"settings" = An action to launch settings
"airplane" = Airplane mode toggle
"bugreport" = Take bug report, if available
"silent" = silent mode
"users" = list of users
-->
<string-array translatable="false" name="config_globalActionsList">
<item>power</item>
<item>bugreport</item>
<item>users</item>
</string-array>
Click to expand...
Click to collapse
sir can you point me to a site or link for aosp 7.1.1 nougat? or can you teach us here? thank you
ian97 said:
sir can you point me to a site or link for aosp 7.1.1 nougat? or can you teach us here? thank you
Click to expand...
Click to collapse
You just revived a 3-year-old thread, congrats.
one of the things that was annoying me in a one good roms is this no option to wake up device with camera buttons ;; but now i find a trick that work 100% ( i tried it in a omni 4.4.4 rom but it shall work in all other roms , copy the original file in safe placeso you can backup it if it don't work in your rom)
and if you have a working brain , you can use trick to any other buttons ( copy original file again )
steps:
1-go to systeme/usr/keylayout and open the file "keypad_8960.kl"
2- scroll down until you find camera keys (for me it was in the end)
3-you will find those ligns:
"key 528 focus
key 766 camera WAKE"
change it to:
"key 528 focus WAKE_DROPPED
key 766 camera WAKE_DROPPED"
Reboot, Done !
My device info:
Build number: rk3368-userdebug 9 PQ2A.190205.003 eng.hct2.20190411.192110 test-keys
Kernel version: 4.4.167
MCU version: MTCE_GS_V3.07_3
In settings menu I don't see lot of std android settings (probably hidden for normal user).
I would like to enable split screen (it is disabled by default - 7 inch screen), but I can not enter developer options.
Standard android way with tapping build number is not working.
I also tried apps (e.g. "developer options) but it does not work - it shows "First enabled developer options".
I also tried rooting (simple way) with code (*#htc#root#) in factory settings, and with kingoroot. It does not work.
Do I need use adb for that?
Additionally clock is not working properly. After vehicle shutdown signal - radio is falling a sleep. After wakeup it looks like time freeze.
If I activate GPS time adjust it makes clock late 30 minutes.
If I activate internet time update it makes clock late 1h - probably because of winter / summer time switch, but I don't see that setting (also hidden).
Any help would be pleasent
I would try to change to stock rom.
But Im not sure if that would be even possible if I do not enable developer options first and next usb debug to access adb and flash mode.
Maybe it could be done by MCU update file? somehow make it to change system configuration?
SZAMAN92 said:
I would try to change to stock rom.
But Im not sure if that would be even possible if I do not enable developer options first and next usb debug to access adb and flash mode.
Maybe it could be done by MCU update file? somehow make it to change system configuration?
Click to expand...
Click to collapse
for what vehicle is that HU ?
i have same for opel, and have problems with stering wheel buttons, when i press next or back button it react like i press it 2 or 3 times :/
do you know how to enter recovery in that unit? maybe flash other MCU file ?
It is my device
https://xtrons.com/renault-megane-iii-fluence-android-9-0-pa79mg3rip
For me wheel buttons work well.
However try to check factory settings
Settings > Factory settings > enter code (126 in my case) > Keys
I have there option to change CAN bus to proper vehicle model.
Unfortunetaly I don't have experience with flashing such devices. Until now I was flashing only smartphones.
There were lot of tutorials how to do that. For Android auto HU I dont know even how to start.
For smartphone you could enter recovery by adb, but first you need unlock USB debugging. If you have access to developer options you could do that - that is not my cas.. sadly.
EDIT:
I found solution for time issue
https://forum.xda-developers.com/showpost.php?p=72946736&postcount=4
EDIT2:
Better solution
1. Get root
https://forum.xda-developers.com/showpost.php?p=76725981&postcount=740
2. Use that app
https://play.google.com/store/apps/details?id=ru.org.amip.ClockSync&hl=pl
EDIT3:
1. Malaysk ROM!!!
Clock work without any problem, I have split screen on my 7 inch device