[GUIDE][5.0]How to enable on-screen nav bar and disable hardware capacitive buttons. - Mi 3 General

INTRODUCTION
This guide is for Ivan's 5.0 Lollipop AOSP ROM but will work with other ROMs as well.
FEATURES
Pure AOSP feel.
Many people prefer it, including me.
Workaround for 'hardware key wakeup' bug.
Can use Lollipop features like Screen Pinning easily.
Looks cool
PREREQUISITES
Ivan's Lollipop AOSP ROM.(May work on others too)
MI3.(Again may work on others too)
Root.
ES File Explorer.(or any file manager with root access)
INSTRUCTIONS
Enabling on-screen nav bar.
Open ES File Explorer and grant su access.
Go to system and open build.prop with ES Note Editor and add this line in the end:
Code:
qemu.hw.mainkeys=0
Save build.prop and reboot.
Check if soft keys are enabled.
If enabled successfully, proceed to next section.
Disabling hardware capacitive keys.
Go to system/usr/keylayout and open 'atmel-maxtouch.kl' with ES Note Editor.
In the end of that file there will be following three lines:
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
Add a '#' before each line so it would look like this:
Code:
#key 139 MENU VIRTUAL
#key 102 HOME VIRTUAL
#key 158 BACK VIRTUAL
Save the file and exit.
Disabling capacitive key lights.
Download Capacitive Buttons app from Play Store.
Open it and grant su access.
Select the first option i.e no brightness.
Reboot
DONE

working great!! thanks for sharing!!
{
"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"
}

Thank You
Thank you for this guide. Successfully disabled capacitive buttons and added navigation bar.

Welcome mates, @moly82 you have set 420 dpi?

400

How to reduce height of nav bar? I don't want to change dpi but the nav bar is too high.

Edit: Fxied.!

Thx for this mate.
I am unable to boot the system after enabling on-screen nav bar by editing build.prop...... Shows starting MI logo and then a blues flash and again restart. It goes into this loop.
As soon as I remove that "qemu.hw.mainkeys=0" from it, system is botting

error01671 said:
How to reduce height of nav bar? I don't want to change dpi but the nav bar is too high.
Click to expand...
Click to collapse
For that you need to edit the jar files in framework, you can find a guide for that on xda. I could have done that myself but my exams are gonna start in a few days, and moreover I'm sick. ?

mandarpalshikar said:
Thx for this mate.
I am unable to boot the system after enabling on-screen nav bar by editing build.prop...... Shows starting MI logo and then a blues flash and again restart. It goes into this loop.
As soon as I remove that "qemu.hw.mainkeys=0" from it, system is botting
Click to expand...
Click to collapse
Can you tell me in detail what exactly you did and which file manager you used?

deepesh.tickoo said:
Can you tell me in detail what exactly you did and which file manager you used?
Click to expand...
Click to collapse
Hi,
I used ES File Explorer first to edit on phone and then rebooted. Phone didn't start so then I went into CWM recocry, pulled file by adb on my desktop, removed the line which I had inserted and then pushed file back to system. Gave 644 permission and rebooted. Device worked this time.
Lemme know if there is any other way. One thing I cld try is edit the file on desk and push through ADB. Earlier I had inserted required line with ES Explorer and editor.
Thanks in advanced.
Regards,
Mandar
Sent from my MI 3W using XDA Premium HD app

mandarpalshikar said:
Hi,
I used ES File Explorer first to edit on phone and then rebooted. Phone didn't start so then I went into CWM recocry, pulled file by adb on my desktop, removed the line which I had inserted and then pushed file back to system. Gave 644 permission and rebooted. Device worked this time.
Lemme know if there is any other way. One thing I cld try is edit the file on desk and push through ADB. Earlier I had inserted required line with ES Explorer and editor.
Thanks in advanced.
Regards,
Mandar
Sent from my MI 3W using XDA Premium HD app
Click to expand...
Click to collapse
Yea do try that and report, I think the ES method is messing with the build.prop permissions somehow!

i used ES with no problems at all!

Same here, I too used ES without any issue, but I have faced certain problems with ES regarding saving system level files i edited and problems with proper permissions in the past.

deepesh.tickoo said:
Yea do try that and report, I think the ES method is messing with the build.prop permissions somehow!
Click to expand...
Click to collapse
Yup... It worked by this method. Flawless.
Enjoying lollipop to the fullest now. You guys are fantastic. Thx.

I've been using ES for this for over a year now...no problems...
Maybe a typo was at fault?

The Dork Knight Rises said:
I've been using ES for this for over a year now...no problems...
Maybe a typo was at fault?
Click to expand...
Click to collapse
No chance at all. Have been working on Unix / oracle platforms for last 9 yes now . Anyways the issue is resolved now. Thx for help. Enjoying lollipop now.
Sent from my MI 3W using XDA Premium HD app

I guess the issue was with saving the file. May I know how you saved the edited build.prop file in ES Note Editor?
I would like to know this so that I would update that info in the thread, so that in future users can be more careful.

It worked great for me! Thank you!
Will there be a way to make the navbar transparant instead of black?
Thanks in advanced!

Deslang16 said:
It worked great for me! Thank you!
Will there be a way to make the navbar transparant instead of black?
Thanks in advanced!
Click to expand...
Click to collapse
There might be by editing some png in framework-res.apk but I am not sure about which png file needs to be edited.
Although I can assure you that transparent nav-bar will only annoy you!

Related

[THEME]Sony BLUES[2.1.1.A.0.6][Final]

Here is my stock SONY ERICSSON modified theme for Android 2.1
ONLY FOR [2.1.1a.0.6]
Reported Working on new FW2.1.1a.0.6 for Mini and Mini Pro
i called it Sony Blues
{
"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"
}
Need to have ROOT to apply this theme.
I'm not responsible if you brick your device, use at your own risk.
Make sure to backup using xRecovery before installing.
How To Install: Use Root Explorer
1. Download the attached framework-res.rar
2. Make sure to backup stock framework-res.apk
3. extract it and copy the framework-res.apk file to the sdcard
4. Open Root Explorer, Mount /system in RootExplorer as "R/W"
pic by Manny
5. From sd card, instead of copy, move downloaded framework-res.apk to "/system" and set the permission to 644, like in the picture
pic by Manny
6. Move the framework-res.apk from /system to /system/framework and replace the existing file.
7. Reboot and enjoy.
Replacing the BootAnimation
1. Download attached bootanimation and place in sdcard
2. Use root explorer Mount /system/media as "R/W",
3. instead of copy, just move it to /system/media and replace bootanimation.zip
4. set the permission to 644, shown above photo in step 5.
5. reboot and enjoy.
Wallpaper attached.
framework-res.rar notification + android background(not wallpaper)
framework-res notification only.rar notification only
Click to expand...
Click to collapse
i'll update for the system app icons and notification icons later when i have the time.
Update 1.
Sms Notification icon modified
Accept call button modified
Download update.rar
extract all three file and copy to sd card
move both apk to /system/app
mount "R/W" /system/app and set permission to 644 extracted files
reboot and enjoy
Update Final
DOWNLOAD Link Added:
Framework+Phone+Gmail+Home+Market[Update Final].rar
Lock Screen modded
Android Background(in certain places)
Market notification icon(new update available, and install complete)
Data Connection/disconnected(white dot fixed)
Landscape Android Background and Lock Screen fixed.
Download update.rar
extract all files and copy to sd card
move all apk to /system and set permission to 644
move framework-res.apk to /system/framework
move others 4 to /system/app
reboot and enjoy
Bricked after install? check my sig bellow how to unbrick.
Very nice looks good
thanks Sesme.
by the way, since i dont have mini, can any test it and let me know if it works.
thanks.
thanks
This theme looks great thanks
some of you might get irritated with the android background.
so i added another framework-res.apk (framework-res notification only.rar)
only notification icons, without android background.
Reserved this one
(Have a good one)
Looks more professional in my opinion!
thanks mate.
i just match it with the sony stock theme.
but there's still some noti icons haven't edited. actually i couldn't find it.
still working on it.
cheers enjoy
gmail new mail notification icon:
how does it look?
Updated.
Gmail Notification icon modified
Sms Notification icon modified
Accept call button modified
update.rar arttached
I see you're going to be a promise in development and other topics in this corner of our mini x10
Thank's gracias
Dude can u overclock this? using setcpu or something?
using setcpu yes it can. but,
i guess the max you can set are 600Mhz and that's default.
Have 1 good news and 1 bad news.
Good news.
Since i've a fully modded the theme and some system apps.
So im gonna call it rom now. With the feels of sony android it self.
Suits with the name, sony blues.
The bad news.
I cant cook the rom into update.zp so it can be flash with xrecovery.
My 1tb primary hd dead after hearing kreeeeeeck sound while doing some anime encoding this morning. I believe it can still be access as secondary.
And my u20i the only one can save my pc. How? By selling it of course.
Why not use my savings?
Its my happiness saving, so I cant use it.
So this is not good bye.
Sent from my U20i using XDA Premium App
nujhum said:
Have 1 good news and 1 bad news.
Good news.
Since i've a fully modded the theme and some system apps.
So im gonna call it rom now. With the feels of sony android it self.
Suits with the name, sony blues.
The bad news.
I cant cook the rom into update.zp so it can be flash with xrecovery.
My 1tb primary hd dead after hearing kreeeeeeck sound while doing some anime encoding this morning. I believe it can still be access as secondary.
And my u20i the only one can save my pc. How? By selling it of course.
Why not use my savings?
Its my happiness saving, so I cant use it.
So this is not good bye.
Sent from my U20i using XDA Premium App
Click to expand...
Click to collapse
Sorry to hear. How u gonna continue with this? So the update is not posted yet?
The APNs is bull****. Lost $10++ worth or airtime. I'll go with ur sony blue =D
Dude,PM me ur num. We can be friend =D
My front screen do not show the android pic.
Only shown in the back when i want to make a call.
any idea?
kingmagauk said:
My front screen do not show the android pic.
Only shown in the back when i want to make a call.
any idea?
Click to expand...
Click to collapse
sorry bout that.
but now everything updated from lock screen modded, background(in certain places), Market notification(new update available, and install complete), data connection(white dot fixed) landscape background and lockscreen fixed.
and this is final, till i get my pc back...
update file attached to 1st post.
just DLed this theme..thanks..
Does it really work with just replace without bricking your phone. Because I don't have access to a computer right know and don't want to have a bricked phone because I text alot and I need my alarm tomorrow
Sent from my U20i using XDA Premium App
mckeviin said:
Does it really work with just replace without bricking your phone. Because I don't have access to a computer right know and don't want to have a bricked phone because I text alot and I need my alarm tomorrow
Sent from my U20i using XDA Premium App
Click to expand...
Click to collapse
Nothing will happened if you do it right.
So following the installation steps wont kill your android.
Sent from my U20i using XDA Premium App
Love the theme. worked like a charm on mine - not pro

[MOD][ICS][GB] Transparent Statusbar with rearrangable Power Widgets! - Update ICS!

FOR ICS(4.0.3)
I took the status bar from karabappel2548's ROM, which are made by hansip87, thanks to him
I tried it on stock ICS .562 and it worked like a charm, so i made a zip for it to flash it easily!
{
"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"
}
DOWNLOADhttp://dl.dropbox.com/u/71225529/Status bar toggles.zip
and for arranging/selecting the widgets download QuickPanelSettings.apk from attachments and install as normal apk!
FOR GINGERBREAD (2.3.4)
Requirements:
1. Rooted phone [.42] [.58] [.62]
2. root explorer!
flash this zip in recovery (thanks to sj.wasan)
OR
Follow these steps :
1] Open Root Explorer and go to /system/app scroll down and copy SystemUI.apk file to somewhere on your SDCARD.(Just as a Backup).
2] Download 'Power Notification widgets.zip' from attachments and Extract it on SDCARD.
3] Install QuickPanelSettings.apk
4] Copy SystemUI.apk(Extracted from 'Power Notification widgets.zip') in Root Explorer and go to /system. Mount the folder as R/W(There is a button on top right corner of Root Explorer)
5] Paste the file there
6] Change file permissions to (RW-R-R ).
Long press on systemUI.apk
click on permissions
check the following:
Owner: read, write
Group: read
Others: read
7] Now move this SystemUI.apk to /system/app and replace the existing one.
8] Restart your phone. Done. Now, You should have Statusbar Widgets. Use the QuickPanel Settings app to manage the Widget Buttons.
9] If it didn't worked on your phone or something goes wrong, replace the modified SystemUI.apk with the original one(The one which you copied on SDCARD as a backup).
ALL CREDITS GO TO: sj8023ld
THANK ME IF I HELPED YOU
Moved to themes & apps
heyy good stuff buddy
helped me alot
Work for me thanks
And i make updatezip for anyone to easy
download
normal_StatusbarWidget
transparency_StatusbarWidget
Original_StatusbarWidget
sj.wasan said:
Work for me thanks
And i make updatezip for anyone to easy
download
normal_StatusbarWidget
transparency_StatusbarWidget
Original_StatusbarWidget
Click to expand...
Click to collapse
Oh good!
N you're welcome!
Dear sj.wasan Sir:
the original.zip is corrupted, could you please help to re-uplaoad it?
I want change the position of the accept bar under the icons. How could i do it?
Enviado desde mi MT15i usando Tapatalk
dclou said:
Dear sj.wasan Sir:
the original.zip is corrupted, could you please help to re-uplaoad it?
Click to expand...
Click to collapse
O.K. mate
can download now
pedrotrebu said:
I want change the position of the accept bar under the icons. How could i do it?
Enviado desde mi MT15i usando Tapatalk
Click to expand...
Click to collapse
Accept bar? and you can change the position of the power widgets, nothing else!
I'm sorry, i made a mistake. I want to modify the position of icons in xml files to move them a little because i don't like the position of the blue bar of each icon. When I translate to spanish, it crosses the text.
Enviado desde mi MT15i usando Tapatalk
But i don't know what xml file is the correct.
Enviado desde mi MT15i usando Tapatalk
pedrotrebu said:
I'm sorry, i made a mistake. I want to modify the position of icons in xml files to move them a little because i don't like the position of the blue bar of each icon. When I translate to spanish, it crosses the text.
Enviado desde mi MT15i usando Tapatalk
Click to expand...
Click to collapse
i'm sorry dude, i dont know! try asking this question in the original thread!
What is'
Enviado desde mi MT15i usando Tapatalk
Possibles corrections
Hello,
First of all thanks for the info, i have used this one http://forum.xda-developers.com/showthread.php?t=1352993, until i discovered this topic and try this one.
My phone is a Neo V and it works very well.
In your first post, where you explain the steps to follow in the process, i think you must exchange steps 5 and 6 and also modify just a bit steps 4 and 5(wich must be 6).
I mean:
-Step 4: Copy SystemUI.apk from SDCard, go to /system and mount it R/W (not /system/app because in /system there is no SystemUI.apk to replace), paste the file here.
-Step 5:Change permissions to rw-r--r-- just as you explained in your 6th step.
-Step 6:Copy the file from /system, paste it in /system/app and confirm the replacement and reboot.
Following this order you don't get into troubles like me.
Because if you replace the file before changing permissions you will get stuck in a endless looping dialog telling anything about an error, clicking ok and again getting the same dialog in less than a second. I finally get out pressing power button to show 'shutdown dialog' wich also was totally covered under the annoying looping dialog, i just started taping as fast as i could, until fortunatelly one of my 'taps' hit de shutdown option between the dissappearing and the appearing of the 'loopy error dialog'. After powering on again it just get missing the notifications bar, i went with RootExplorer to /system/app, finally change permissions and reboot again and... just fixed it.
Hope i helped.(and well... i'm not a native english speaker)
Salut.
entreteniment said:
Hello,
First of all thanks for the info, i have used this one http://forum.xda-developers.com/showthread.php?t=1352993, until i discovered this topic and try this one.
My phone is a Neo V and it works very well.
In your first post, where you explain the steps to follow in the process, i think you must exchange steps 5 and 6 and also modify just a bit steps 4 and 5(wich must be 6).
I mean:
-Step 4: Copy SystemUI.apk from SDCard, go to /system and mount it R/W (not /system/app because in /system there is no SystemUI.apk to replace), paste the file here.
-Step 5:Change permissions to rw-r--r-- just as you explained in your 6th step.
-Step 6:Copy the file from /system, paste it in /system/app and confirm the replacement and reboot.
Following this order you don't get into troubles like me.
Because if you replace the file before changing permissions you will get stuck in a endless looping dialog telling anything about an error, clicking ok and again getting the same dialog in less than a second. I finally get out pressing power button to show 'shutdown dialog' wich also was totally covered under the annoying looping dialog, i just started taping as fast as i could, until fortunatelly one of my 'taps' hit de shutdown option between the dissappearing and the appearing of the 'loopy error dialog'. After powering on again it just get missing the notifications bar, i went with RootExplorer to /system/app, finally change permissions and reboot again and... just fixed it.
Hope i helped.(and well... i'm not a native english speaker)
Salut.
Click to expand...
Click to collapse
Oh i do the same steps as you said.. but wrote it differently!
i always put it in /system den change the permissions n then move it to /system/app !
I'll change it now!
Good job! How can I change icons' order in this widget?
zieju said:
Good job! How can I change icons' order in this widget?
Click to expand...
Click to collapse
Use the QuickPanel Settings app u installed!
Sent from my Xperia neo V using SwiftKey!
No I haven't because I've instaled update.zip made by sj.wasan . Thanks mate i'll install it from orginal source
zieju said:
No I haven't because I've instaled update.zip made by sj.wasan . Thanks mate i'll install it from orginal source
Click to expand...
Click to collapse
You're welcome.
do press the thanks button
where can i find the QuickPanelSettings.apk
he dont will open the zip, im using winrar and he says failed.
sp please re upload then can i change stuff

[Q] Beans ROM: Disabled Status Bar Toggles Leave Empty Space - How to Fix?

Hi all. Searched this and did not find an answer.
Jellybean natively has Toggles on the Notification Bar.
Instead of using the built-in toggles from Beans ROM, I prefer to use Widgetsoid because it offers additional toggle button options that are not otherwise available (example: toggle for "Keep screen on when device is plugged in", etc).
ROM: Beans ROM Build 16
Issue: When I disable the built-in JB toggles (Settings/Custom Settings/Toggle Settings/Widget buttons/ then deselect all options), there is a blank space left where the toggles would normally be (see pic below).
Question: How can I disable the JB built-in toggles completely so that it doesn't show this empty space?
{
"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"
}
SoCalNewb said:
Hi all. Searched this and did not find an answer.
Jellybean natively has Toggles on the Notification Bar.
Instead of using the built-in toggles from Beans ROM, I prefer to use Widgetsoid because it offers additional toggle button options that are not otherwise available (example: toggle for "Keep screen on when device is plugged in", etc).
ROM: Beans ROM Build 16
Issue: When I disable the built-in JB toggles (Settings/Custom Settings/Toggle Settings/Widget buttons/ then deselect all options), there is a blank space left where the toggles would normally be (see pic below).
Question: How can I disable the JB built-in toggles completely so that it doesn't show this empty space?
Click to expand...
Click to collapse
use Root Explorer to remove the toggle app. Reboot and you should have no more missing space.
dragonstalker said:
use Root Explorer to remove the toggle app. Reboot and you should have no more missing space.
Click to expand...
Click to collapse
dragonstalker - many thanks. What is app name and directory?
(I used Root Explorer to do a system wide search for "toggle", but no hits)
SoCalNewb said:
dragonstalker - many thanks. What is app name and directory?
(I used Root Explorer to do a system wide search for "toggle", but no hits)
Click to expand...
Click to collapse
Im pretty sure in beans is /system/framework/lithdroid.apk
Sent from my SGH-T889 using xda app-developers app
kintwofan said:
Im pretty sure in beans is /system/framework/lithdroid.apk
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
I don't show "lithdroid.apk" in /system/framework/. I do show "lithroid-res.apk" and "lithroid-res.bak" in that directory (screenshot below).
Question: safe to delete "lithroid-res.apk" and "lithroid-res.bak"? (Yes I have a TWRP system backup.)
SoCalNewb said:
I don't show "lithdroid.apk" in /system/framework/. I do show "lithroid-res.apk" and "lithroid-res.bak" in that directory (screenshot below).
Question: safe to delete "lithroid-res.apk" and "lithroid-res.bak"? (Yes I have a TWRP system backup.)
Click to expand...
Click to collapse
That's what I meant just was trying to recall off the top of my head. Yes delete it and if it messes anything up restore your backup, no worries
Sent from my SGH-T889 using xda app-developers app
kintwofan said:
That's what I meant just was trying to recall off the top of my head. Yes delete it and if it messes anything up restore your backup, no worries
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Removing "lithroid-res.apk" and "lithroid-res.bak" from system/framework/ prevented device from booting.
If there is any error in what I did below I can try it again.
What I did:
- I used Root Explorer to make a .zip backup of "lithroid-res.apk" and "lithroid-res.bak" (left backup file "lithroid toggle.zip" in system/framework/)
- Used Root Explorer to delete "lithroid-res.apk" and "lithroid-res.bak" from /system/framework
- 5 seconds later system hung (unresponsive to power button being pressed for 15 seconds, so had to do a battery pull).
- Pulled battery and re-inserted to reboot.
- Boot animation came up, but device froze after that.
- Didn't feel like restoring full TWRP backup, so I booted to TWRP, and used ADB to move my backups of "lithroid-res.apk" and "lithroid-res.bak" back to system/framework (I suppose I could have used TWRP File Manager, but ADB is just as easy).
- System booted fine.​
Questions:
1) Could the use of a space in the filename for the "lithroid toggle.zip" file in system/framework cause a boot issue?
2) Any other ideas how to remove the toggle bar from the status drop down?​​
SoCalNewb said:
Removing "lithroid-res.apk" and "lithroid-res.bak" from system/framework/ prevented device from booting.
If there is any error in what I did below I can try it again.
What I did:
- I used Root Explorer to make a .zip backup of "lithroid-res.apk" and "lithroid-res.bak" (left backup file "lithroid toggle.zip" in system/framework/)
- Used Root Explorer to delete "lithroid-res.apk" and "lithroid-res.bak" from /system/framework
- 5 seconds later system hung (unresponsive to power button being pressed for 15 seconds, so had to do a battery pull).
- Pulled battery and re-inserted to reboot.
- Boot animation came up, but device froze after that.
- Didn't feel like restoring full TWRP backup, so I booted to TWRP, and used ADB to move my backups of "lithroid-res.apk" and "lithroid-res.bak" back to system/framework (I suppose I could have used TWRP File Manager, but ADB is just as easy).
- System booted fine.​
Questions:
1) Could the use of a space in the filename for the "lithroid toggle.zip" file in system/framework cause a boot issue?
2) Any other ideas how to remove the toggle bar from the status drop down?​​
Click to expand...
Click to collapse
Ya I was sure it wasn't that easy I was just telling you what files dragonstalker was talking about (by the way the stock toggles are built into framework so no apk to delete).
Now how you really need to do it is decompile lithdroid apk and set the height to 0. I don't recall the xml that's in, but I'll see if I can find it.
Sent from my SGH-T889 using xda app-developers app
kintwofan said:
Ya I was sure it wasn't that easy I was just telling you what files dragonstalker was talking about (by the way the stock toggles are built into framework so no apk to delete).
Now how you really need to do it is decompile lithdroid apk and set the height to 0. I don't recall the xml that's in, but I'll see if I can find it.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the clarification.
kintwofan said:
Ya I was sure it wasn't that easy I was just telling you what files dragonstalker was talking about (by the way the stock toggles are built into framework so no apk to delete).
Now how you really need to do it is decompile lithdroid apk and set the height to 0. I don't recall the xml that's in, but I'll see if I can find it.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Decompiling the apk is outside of my current skill set.
Anyone have a favorite "decompile 101" guide that would teach me how to do this?
SoCalNewb said:
Decompiling the apk is outside of my current skill set.
Anyone have a favorite "decompile 101" guide that would teach me how to do this?
Click to expand...
Click to collapse
I know this is an older thread, but wondering if you found an answer to disabling the toggles all together. I have been looking for the same thing and keep coming up empty. Haven't tried the decompiling method, may be the only resolution.
firewater88 said:
I know this is an older thread, but wondering if you found an answer to disabling the toggles all together. I have been looking for the same thing and keep coming up empty. Haven't tried the decompiling method, may be the only resolution.
Click to expand...
Click to collapse
I have not found any way to disable the toggles altogether.

[SOLUTION] AdAway Not Working - Stuck on "Applying hosts file"

Here is an easy solution/fix for those who wish to use AdAway v2.8 but end up getting stuck on the final step to enabling ad blocking, "Applying hosts file".
If you are trying to enable AdAway but are stuck on "Applying hosts file" as seen in the screenshot below, then please follow these very simple instructions.
{
"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"
}
1. Download a root explorer. I prefer using Root Explorer because I think its the best file explorer on the android market. If you have problems with purchasing apps you can always use the free version Explorer, or if you prefer using another file explorer that's fine, just make sure it has root access enabled.
2. Once you have a file explorer installed that has root access enabled, navigate to "system/etc" and find the file labeled "hosts" as seen in the screenshot below.
3. Hold down/select the file labeled "hosts" and select "permissions" from the selection as seen in the screenshot below.
4. After selecting permissions a window should have popped up where you can change the permissions of the file as seen in the screenshot below.
4. Change the permissions of the hosts file to "rw-rw-rw" just like in the screenshot below. Hit "OK" to apply the permission changes and close the file explorer completely and head back over to AdAway.
5. Once you have AdAway back open, click "Download files and apply ad blocking" and try again. Depending on your internet connection it shouldn't take very long, but you should see something like this, hit "Yes".
6. After your phone has rebooted, open AdAway again and you should see something like this saying newest hosts files enabled.
Congratulations, AdAway is now working and ad blocking is enabled!
Thanks man, it worked great
Cheers for the post, was getting this issue on ASOB 1.3.2 rom & it was starting to get annoying, sometimes it would apply the HOSTS file after a reboot, other times it wouldn't
Thanks, this works for me too !
Thanks...Seems Adaway randomly breaks this permission.
Worked perfect thanks
The reason AdAway does that on newer android versions (some 4.3 roms and most all 4.4) is because of SELinux. If you change it to permissive, the Hosts file applies perfectly. Do so at your own risk, but I can't stand having it on my phone. Blocks too many fun things.
es0tericcha0s said:
The reason AdAway does that on newer android versions (some 4.3 roms and most all 4.4) is because of SELinux. If you change it to permissive, the Hosts file applies perfectly. Do so at your own risk, but I can't stand having it on my phone. Blocks too many fun things.
Click to expand...
Click to collapse
I just got a new app that I have to use every day and it places ads right above the keyboard. Was definitely not going to deal with that **** every day it was really distracting.
advocat3 said:
I just got a new app that I have to use every day and it places ads right above the keyboard. Was definitely not going to deal with that **** every day it was really distracting.
Click to expand...
Click to collapse
That's ridiculous. Not that you have to use the app, of course, but wtf...on top of the keyboard? Do they have a donate version that is ad-free at least? Not everyone has the option to root and disable them. What app is it?
es0tericcha0s said:
That's ridiculous. Not that you have to use the app, of course, but wtf...on top of the keyboard? Do they have a donate version that is ad-free at least? Not everyone has the option to root and disable them. What app is it?
Click to expand...
Click to collapse
It's not on TOP of the keyboard but directly above it. So when you're entering text input and trying to read what you wrote there's a blaring ad right below your text.
Incredibly obnoxious. The app is called "Awoken" and it's when you make a new entry in the dream journal: https://play.google.com/store/apps/details?id=com.lucid_dreaming.awoken
advocat3 said:
It's not on TOP of the keyboard but directly above it. So when you're entering text input and trying to read what you wrote there's a blaring ad right below your text.
Incredibly obnoxious. The app is called "Awoken" and it's when you make a new entry in the dream journal: https://play.google.com/store/apps/details?id=com.lucid_dreaming.awoken
Click to expand...
Click to collapse
Ah ok. Well, at least you can opt out of them buy purchasing the premium version of it. I'd probably just do the AdAway option too, but the premium version does have the dark theme which would probably make it worth it to me. I much prefer white text on black backgrounds.
What also works for me is the same steps but just change to read-write and then apply adaway
Sent from my Nexus 5 using XDA Premium 4 mobile app
Still having problems - you can try this
Had the same issue on my HTC Desire running 4.4.2 OmniRom by Spezi77
I followed all the steps outlined in the OP, but still Adaway was stuck while applying the host file
Finally, managed to get it to work by disabling the toast notification for Adaway in SuperSU.
The original solution has been posted here (towards the end)
On step 3: Using Explorer, I don't have a Permissions option when I select my hosts file. I also couldn't find an alternative File Manager with that option and I can't figure out why it isn't available for myself.
I know I'm probably missing something obvious here. Any ideas?
I installed root explorer -free version just to reprodcue your problem. Yes, I get the same on step 3 - it only shows the properties of the host file. I think this is partly because the program does not ask for root permissions. With SuperSu i couldn't manually grant root permissions to it.
I would suggest you to use "ES file explorer" instead. When you open this program, access the left menu. Open tools and scroll down to find root explorer option. Now in the app click on the button next to it to switch it on. The program will now ask for root permissions from your super user program. Grant there rights. Then you have to click on the word root explorer and you will get a popup menu. In this menu you have to next to the /system select RW option. This will allow you to make changes to system.
Now close this left menu, and navigate to the hosts file and set the permissions. When you long press on the file you will get similar options as listed in the original post.
You can switch off the root explorer option when you are done.
Sent from my HTC Desire using XDA Free mobile app
Worked perfectly! Thank you very much. :laugh:
I am glad I was able to help
Sent from my HTC Desire using XDA Free mobile app
Geforce256 said:
Had the same issue on my HTC Desire running 4.4.2 OmniRom by Spezi77
I followed all the steps outlined in the OP, but still Adaway was stuck while applying the host file
Finally, managed to get it to work by disabling the toast notification for Adaway in SuperSU.
The original solution has been posted here (towards the end)
Click to expand...
Click to collapse
Still hangs on parsing and merging .....
Thank you! :good:
That has resolved the problem, that Adaway was not able to update the Host File.
Hey everyone, I tried the instructions here using both Root Explorer and ES Explorer but similar message on both explorers.
On Root Explorer "Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes
On ES Explorer "Sorry, operation failed."
Can anyone shed some light on these errors for me please. Thank you.
N.B. I am using the Huawei Y330

[LG-L9-II] Split Window ported from G pro 2

This is the split window feature for LG-L9-II from G pro 2 (its working better than G3 in our phone)
This is for stock rom kitkat v20b ONLY
[Do NOT use it with other phone/version - modifies telephony-common.jar/odex and com.lge.frameworks.jar/odex]
If you want to try it with other phone/version, create a installable CWM zip file with the 4 files above, from your phone, so you can restore it in case something go wrong.
<> Credits go to xdabbeb for this post
[pictures is not in good quality]
{
"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"
}
In order to see the pop-up window (as in 1st picture), tap and hold back key just a little longer than a normal tap (don't hold the back key).
How to install
<> Download file(s) from this post and put to sd card.
<> Install it with CWM from Varcain (install zip from sdcard)
UserXP_ said:
This is the split window feature for LG-L9-II from G pro 2 (its working better than G3 in our phone)
This is for stock rom kitkat v20b
[perhaps work with others]
<> Credits go to xdabbeb for this post
[pictures is not in good quality]
In order to see the pop-up window (as in 1st picture), tap and hold back key just a little longer than a normal tap (don't hold the back key).
How to install
<> Download file(s) from this post and put to sd card.
<> Install it with CWM from Varcain (install zip from sdcard)
Click to expand...
Click to collapse
Installed it on v20a and i can't et the popup window to show up by holding the back key for a lil longer
RaawrItsTomi said:
Installed it on v20a and i can't et the popup window to show up by holding the back key for a lil longer
Click to expand...
Click to collapse
Open browser, go to Favorites, tap and hold a favorite page and select "Add to home/start screen" (or something).
[In other words, add a short-cut to a page at home screen]
Tap on the short-cut. You must see it in split window.
If yes, as I said, in order to see the pop-up window tap and hold back key just a little longer than a normal tap.
If not, its not working [I don't think so - must work on v20a too]
UserXP_ said:
Open browser, go to Favorites, tap and hold a favorite page and select "Add to home/start screen" (or something).
[In other words, add a short-cut to a page at home screen]
Tap on the short-cut. You must see it in split window.
If yes, as I said, in order to see the pop-up window tap and hold back key just a little longer than a normal tap.
If not, its not working [I don't think so - must work on v20a too]
Click to expand...
Click to collapse
Nope doesn't work and i just checked if the files were there witih ES File Explorer and they are all there
RaawrItsTomi said:
Nope doesn't work and i just checked if the files were there witih ES File Explorer and they are all there
Click to expand...
Click to collapse
Ok, perhaps is this:
With an root editor, add the following two lines to your build.prop (located at /system folder)
ro.lge.capp_splitwindow=true
persist.splitwindow.support_all=true
reboot
UserXP_ said:
Ok, perhaps is this:
With an root editor, add the following two lines to your build.prop (located at /system folder)
ro.lge.capp_splitwindow=true
persist.splitwindow.support_all=true
reboot
Click to expand...
Click to collapse
So i opened google play store to download build prop editor and Dual Window keeps on stopping
RaawrItsTomi said:
So i opened google play store to download build prop editor and Dual Window keeps on stopping
Click to expand...
Click to collapse
Ok. That is good news, but you must give me logcat.
[Edit: Must go to sleep now. Tomorrow...]
UserXP_ said:
Ok. That is good news, but you must give me logcat.
Click to expand...
Click to collapse
I hope i don't sound too noob but where can i find the logcat LMFAO
RaawrItsTomi said:
I hope i don't sound too noob but where can i find the logcat LMFAO
Click to expand...
Click to collapse
Check this
http://forum.xda-developers.com/showthread.php?t=1726238
UserXP_ said:
Check this
http://forum.xda-developers.com/showthread.php?t=1726238
Click to expand...
Click to collapse
Here ya go
UserXP_ said:
This is the split window feature for LG-L9-II from G pro 2 (its working better than G3 in our phone)
This is for stock rom kitkat v20b
[perhaps work with others]
<> Credits go to xdabbeb for this post
[pictures is not in good quality]
In order to see the pop-up window (as in 1st picture), tap and hold back key just a little longer than a normal tap (don't hold the back key).
How to install
<> Download file(s) from this post and put to sd card.
<> Install it with CWM from Varcain (install zip from sdcard)
Click to expand...
Click to collapse
This might be a little off topic but is it possible to add custom fonts to the settings>display>font menu? I mean is there a xml file which stores the necessary paths for fonts? You can install fonts from SmartWorld so there must be a way to do this .
RaawrItsTomi said:
Here ya go
Click to expand...
Click to collapse
Ok, I think I found it. I need 4 files from your system/framework folder
telephony-common.jar
telephony-common.odex
com.lge.frameworks.jar
com.lge.frameworks.odex
I will modified them and send you 2 files (DeOdexed)
telephony-common.jar
com.lge.frameworks.jar
You MUST odex them in your phone (this is the only way).
If you know how to do it, ok. If not, send me a pm.
RaawrItsTomi said:
This might be a little off topic but is it possible to add custom fonts to the settings>display>font menu? I mean is there a xml file which stores the necessary paths for fonts? You can install fonts from SmartWorld so there must be a way to do this .
Click to expand...
Click to collapse
I will check it.
UserXP_ said:
Ok, I think I found it. I need 4 files from your system/framework folder
telephony-common.jar
telephony-common.odex
com.lge.frameworks.jar
com.lge.frameworks.odex
I will modified them and send you 2 files (DeOdexed)
telephony-common.jar
com.lge.frameworks.jar
You MUST odex them in your phone (this is the only way).
If you know how to do it, ok. If not, send me a pm.
I will check it.
Click to expand...
Click to collapse
I might be late but here are the files

Categories

Resources