[Q] Advanced reboot for Sense 5 4.2.2 - AT&T, Rogers HTC One X, Telstra One XL

hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou

phonegeekjr said:
hi
so one of the features I would like to add to a stock deodex 4.2.2 ROM is the advanced reboot feature. I want to do this nativly but I dont know how. can someone point me in the right direction.
thankyou
Click to expand...
Click to collapse
use SENSE 5 toolbox in development thread http://forum.xda-developers.com/showthread.php?p=46837064
Or else VIPER XL it pretty much has all the options one can need!

Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app

phonegeekjr said:
Have tried that and it doesn't seam to work. I am building and testing the Rom and this is a feature I want to include. I use viper when I'm not testing and love it. What do I have to edit to have this feature in my rom
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.

Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app

phonegeekjr said:
Thanks. Do u know of a apk to tool to fix these apps with
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app

Black!Jack said:
Not quite sure what you meant here. An .apk to do what exactly?
Also, if I've helped and you want to show appreciate for my comment, just hit the thanks button, instead of thanking me in your posts. I believe that is the recommended way of doing things around here. Check the forum rules for clarification.
http://forum.xda-developers.com/showthread.php?p=30899605
Sent from my HTC One XL using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app

Zarchiver
Sent from my Evita

timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
what about for a linux computer are there any tools I can use with that.

Not sure about on Linux, you should be able to find something via Google. There should also be guides on XDA.
Sent from my Evita

phonegeekjr said:
I need a tool to decompile and recompile apk
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Apktool... ApkMultiTool (really just a UI to take command line work out of the equation-not really my style though), Virtuous10 Studios, many more I'm sure I forgot. I have some .bat files for executing necessary commands if your not sure how to use command line.
Sent from my HTC One XL using XDA Premium 4 mobile app
---------- Post added at 05:32 PM ---------- Previous post was at 04:32 PM ----------
timmaaa said:
Zarchiver
Sent from my Evita
Click to expand...
Click to collapse
Not sure that Zarchiver is a tool for Decompiling and Recompiling .apks.
From what I have read about it, it looks more like a File Manager/Archiver.
@ PhoneGeek... for Linux I would have to say that apktool is going to be your best bet. You can find the XDA thread here. And the main page for apktool is here.

Black!Jack said:
Most of the guides that I have found are for non HTC phones. I have a few links for you to check out. From what I have read, they are mostly framework-res.apk and android.policy.jar edits.
I have extracted the classes.dex out of the jar and tried to wade my way through all of the .smali files. It looks as if the GlobalActions.smali points to either GlobalActions3 or GlobalActions4.smali for reboot options.
The guides also point to certain edits which need to be made to the framework-res.apk. Mainly strings.xml. They say to then recompile, then decompile the new framework-res.apk and lookup certain hex values in public.xml.I thought I had it figured out, but then I saw that some of the hex codes were 4xxxxxx hex codes, which points to framework-HTC-res.apk. That's kindof where I got stuck because I could not get that apk to successfully decompile.
Looking at the GlobalActions.smali I saw references to com.HTC.resources, so I kinda knew this was to be expected. I seem to be having trouble getting the necessary framework installed through apktool to successfully decompile.
Additionally, I have taken apart quite a few Roms frameworks (Roms that aren't using Sense 5 toolbox or exposed mods) to try to decipher how they applied the necessary changes, yet they are all so different. Some look to have used arrays, others strings. I know the arrays are probably for multilingual options.
Links coming as soon as I get to my pc.
Click button below for links:
http://forum.xda-developers.com/showthread.php?t=1169443
http://forum.xda-developers.com/showthread.php?t=811532
https://docs.google.com/document/d/11a7ghZpdTcZbeDtneTnEHkHLn5_XQ9k2FDFFh-os-q0/edit
http://forum.xda-developers.com/showthread.php?t=776495
When reading the hex values in the files, the chart below should point you in the right direction:
0x10xxxx is in framework-res.apk
0x20xxxx is in com.htc.resources.apk
0x40xxxx is in framework-htc-res.apk
I too am trying to learn how to do all of this. Please let me know if you figure anything out. It seems to be who you know around here that directly reflects what you know.
Click to expand...
Click to collapse
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work

phonegeekjr said:
first link is for samsung. last link is for mod for a sense 4 or sense 4+ rom. the samsung link, is it ok to folow the steps in it. and the mod isnt even for the at&t htc one xl sense 5. will it work
Click to expand...
Click to collapse
That is what I was originally trying to let you know. The one for the HTC MOD is device specific (HTC Desire I believe). I have gone through the .smali files as these guides instructed and noticed a wide variety of variance. If you decide to attempt the instructions per those guides, you do so at your own risk; especially if you have no idea what you are really doing. The Devs around here are labeled that for a reason. Chances are... they really know what they are doing when messing around with files that could deem our phones inoperable.
One bit of advice I will give you before you start messing with the .smali files, is to learn Java, if you don't already, and then head over to the Smali page and read through all of the documentation in their wiki (it will be hard to understand if you don't know Java though). After taking the time to learn these things, when you open up the .smali files you will have a better understanding of what you are actually looking at and how things are structured. For example, when you open one up, you will perhaps see some variance of :
invoke-direct {v0, v1, p0, v2}
Well, what do all of these v's and p's mean - what do they point to?
There are two naming schemes for registers - the normal v naming scheme and the p naming scheme for parameter registers. Confused?
Read the wiki! Confused by the wiki? Learn Java! This is really the best advice that I can give you. By no means am I downing you or questioning your intelligence. I am simply trying to help you by pointing you in the right direction. Spoon-feeding you all of the answers isn't going to help you learn. I am by no means an expert; not even dillusional enough to think that I am- though my wife may disagree!
In addition, when you get to the Smali page, on the Project home tab, there is a link for an IRC chat room and an example of how the entry level "Hello World" app is broken down into .smali.
Hope that I have helped, to at least point you in the right direction. If I have click the Thanks button!
Edit: Here are some links that may be useful in your quest for knowledge of this subject matter:
Modifying .smali files
Convert .smali to .java
Dalvik opcodes
Android opcodes
Bytecode for the Dalvik VM
Another place with useful links
All of these resources were found with the help of my good friend Google, and her red-headed stepchild XDA!

Hi. I have tried yet again to make sense 5 toolbox apm work. Still not. Latest version of framework used. Any ideas
edit: foumd the problem and apm is now working.
Sent from my HTC One XL using xda app-developers app

Related

[DEV] apkTools - Optimize/Edit/Pack/Sign

A simple toolkit inspired by some others, primary goal is to provide a seamless solution for reliable apk editing/optimizing.
This tool uses aapt rather than 7zip for packing. That provides much better reliability and assurance of conformance to Android file standards, as the cost of slightly larger files.
Contains:
- 7zip
- roptipng
- aapt
- apktool
- zipalign
- signapk
I've also made sure all the libraries/binaries are up to date.
Reserved Post?
Does this work on a mac? Not at home to download it.
Sent from my PC36100 using XDA App
david279 said:
Does this work on a mac? Not at home to download it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Windows only, sorry.
I can look and see about porting to Mac/Linux though, to my knowledge I should be able to get binaries/source for each exe used.
Cool thanks....
Sent from my PC36100 using XDA App
Appreciate the kit will thank you when I get near my laptop.
Swyped From Eva Running Myn's RLS4!
40 downloads and no feedback?
Anyways, I'd like to encourage everyone to use ddms from the android sdk to check your boot errors when optimizing.
It helps alot, any apk related errors should always be addressed even if they seemingly work flawless.
I like that you have compiled all these things together. Shouldn't there also be a draw9patch.bat also for those who have to fix the things that noobs did? It is getting better these days but there are still those out there trying to take the easy way out.
I'm also on a mac. I'll probably run it within VirtualBox
good stuff... im happy someone put together a package for everyone.
btw... which versions u using here?
i can check... but i think more people would like to know.
aamikam said:
btw... which versions u using here?
i can check... but i think more people would like to know.
Click to expand...
Click to collapse
7za - 9.20
roptipng - 0.6.3
aapt & zipalign - SDK v8
apktool - 1.3.2
signapk - NA
thanks! i'll be putting this through its paces sometime after weekend
i'll report back with any issues.
Can AndroidManifest.xml be edited with this?
epakrat75 said:
Can AndroidManifest.xml be edited with this?
Click to expand...
Click to collapse
I think so, but I'm not sure.
Optimize/Edit/Pack/Sign
Click to expand...
Click to collapse
I think Apps have to be signed in the AndroidManifest.xml...
Sent from my HTC Desire using XDA App
I like your concept. Good work. I'm only experiencing 1 issue though...
When unpacking Motonav.apk, everything seems to be unpacked, but when looking at the files, they're wrongfully created.
Instead of creating the file data.gro for instance, it creates a folder data_gro. Which therefore can't be recognized by GROConverter.
Am I doing something wrong?
epakrat75 said:
Can AndroidManifest.xml be edited with this?
Click to expand...
Click to collapse
its using apktool so if its set to decompile then you would edit the decompiled manifest with something like notebook ++
this would be greeeeaaaat for a mac.
Awesome tool... Would love for this to be able to handle draw9patch! Might there be an update to include that?
For some weird reason im getting errors. saying java isnt a command
This is great, thanks....

[MOD][10/22/13] - AT&T Tether hack - D80010d Base - No SQL stuff, just flash and go!

[MOD][10/22/13] - AT&T Tether hack - D80010d Base - No SQL stuff, just flash and go!
I hacked the AT&T Tether. Its now free on stock ROM and on custom ROMS build on the AT&T D80010d Base.
Instead of authenticating to the AT&T Entitlement server it authenticates to... wait for it... www.scottsroms.com and of course my server always gives the ok :good:
Make a Nandroid before flashing!
Download HERE!
Please hit Thanks and rate the thread 5 stars!
If you would like to contribute to my upcoming legal defense fund please hit the donate button ​
Any Dev (or aspiring Dev) may use this mod for any rom you make on the D80010d base. I just ask that you please give credits. Its hitting a server that I have to pay money for so thats not asking a whole lot.
How I did this...
Oddly enough this is the strangest working hack I did. I did this back on the AT&T GS4 when I couldnt get the framework-res to re-compile. Anyways, some background, when the hot spot / tether app checks with AT&T to see if you have tether it does it in such a simplistic way, it simply pings a server and looks for a "Yes" reply! Litterally, thats what it does.
I set up a simple html file on server here: http://scottsroms.com/tether that returns the word "Yes" and then the tether app turns on. Its really weird they did not have any encryption of any sort of obfuscation and its plain text English, but whatever, made it easy to hack.
So for the file on my server to be any use we have to re-direct the Entitlement check to that location instead of AT&T's server located at "entitlement.mobile.att.net"
So what I did was de-compile LGSettings.apk and edited the following lines...
File: com/android/settings/EntitlementCheckService.smali
Changes:
Code:
Line 217
const-string v4, "entitlement.mobile.att.net"
to
const-string v4, "scottsroms.com/tether"
Line 753:
const-string v9, "http://entitlement.mobile.att.net/teth"
to
const-string v9, "http://scottsroms.com/tether"
Line 846:
const-string v9, "http://entitlement.mobile.att.net/teth"
to
const-string v9, "http://scottsroms.com/tether"
Line 858:
const-string v9, "http://entitlement.mobile.att.net/mhs1"
to
const-string v9, "http://scottsroms.com/tether"
So as you can see it goes to my webserver and returns "yes" and tether works ;c)
http://scottsroms.com/tether
Is this already in your clean xe 1.1 rom?
Sent from my LG-D802 using XDA Premium 4 mobile app
Would it be possible to have this flashable zip simply install that same html file for the "yes" reply to a directory called "tether" on the root of the internal storage, and then the LGSettings.apk is edited to look at 127.0.0.1/tether? That way it would be faster since it doesnt send data over the internet to check and it wont have a server cost that someone has to be hosting.
EniGmA1987 said:
Would it be possible to have this flashable zip simply install that same html file for the "yes" reply to a directory called "tether" on the root of the internal storage, and then the LGSettings.apk is edited to look at 127.0.0.1/tether? That way it would be faster since it doesnt send data over the internet to check and it wont have a server cost that someone has to be hosting.
Click to expand...
Click to collapse
As long as you have an HTML server on your phone yes, that would work just fine.
But you need to set up a web server on your phone to get the appropriate response.
And thats only a guess. I am not an expert on web technology....
Another thing I was thinking too, you could also use the host file to redirect! You could try that if you understand how to edit the host file.
holeshot77 said:
Is this already in your clean xe 1.1 rom?
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sorry, I missed this the first time through...
Its in the patch that I had to make in post #2 of that thread.
Thanks
Just flashed and tested. Works great, Thanks.
Can something similar be accomplished for T-Mobile?
Sent from my LG-D801 using XDA Premium 4 mobile app
You Sir are a true Genius!
Works great!!!
$15 donated.
Thanks again.
TerMAESTRO said:
Can something similar be accomplished for T-Mobile?
Sent from my LG-D801 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I was told that T-Mobile is just a change to the APN?
CTF said:
You Sir are a true Genius!
Works great!!!
$15 donated.
Thanks again.
Click to expand...
Click to collapse
Your welcome!
Sent from my LG-D802 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=2283615
i did this metod, and now theter works on att g2. im from mexico and works great with movistar
Scott, quick question...
I decompiled the lgsettings.apk and got all the files, but cannot find the line you mention that needs to be modified...
Could you please clarify where this is exactly?
Complete newbie here, and trying to learn. :cyclops:
Thank you.
CTF said:
Scott, quick question...
I decompiled the lgsettings.apk and got all the files, but cannot find the line you mention that needs to be modified...
Could you please clarify where this is exactly?
Complete newbie here, and trying to learn. :cyclops:
Thank you.
Click to expand...
Click to collapse
Please see post #2 and see the bold text for name of the file.
Then in the code box it lists the exact line #'s.
Its excruciatingly specific.
scrosler said:
Its excruciatingly specific.
Click to expand...
Click to collapse
Well, I guess that shows that I should probably not even try...
However, I do not have such file after decompiling lgsettings.apk.
I get a file called AndroidManifest, and a bunch of folders...
Anim/Color/drawable...
Nowhere can I find the file com/android/settings/EntitlementCheckService.smali
I am assuming that I am not doing something right, no worries, this thread is not for this, and I thought it would be more straightforward.
Thanks for the help.
CTF said:
Well, I guess that shows that I should probably not even try...
However, I do not have such file after decompiling lgsettings.apk.
I get a file called AndroidManifest, and a bunch of folders...
Anim/Color/drawable...
Nowhere can I find the file com/android/settings/EntitlementCheckService.smali
I am assuming that I am not doing something right, no worries, this thread is not for this, and I thought it would be more straightforward.
Thanks for the help.
Click to expand...
Click to collapse
No thats fine.. How did you decompile?
So you have a folder called "smali" or "out"
Depending on the specific ways you decompiled may change the name of that.
I wrote a very simple batch scrip on my website to decompile the classes.dex. You may want to look at that as it will be more straightforward for this simple edit.
Look here: http://www.scottsroms.com/showthread.php?404-TOOL-10-5-SmaliTOOL-1-2
Just grab the classes.dex from the apk, run my decompile tool, make changes per your needs, recompile with batch file, then inseret back into apk with file named as classes.dex.
All of this asumes you have Java installed and functioning.
scrosler said:
How did you decompile?.
Click to expand...
Click to collapse
I used a tool found on XDA called AndroidMultitool.
http://forum.xda-developers.com/showthread.php?t=2326604&highlight=password
It does not give me an OUT or SIMU folder, but I will try your method this weekend and see how this works out.
This decompiler gives a file called AndroidManifest, and a RES folder.
That RES folder has a bunch of subfolders, but not the ones you indicated.
I do have Java SE installed and working properly.
Thanks!
---------- Post added at 04:00 PM ---------- Previous post was at 03:37 PM ----------
On a whim, I just unzipped the apk using a standard unzipper (The unarchiver on OSX) and saw the assets folder, classes.dex and com folder.
More than the previous tool gave me.

[Q] Is there any man remove ''checking subscription status'' when open mobile hotspot

like my old android 4.1.2 I want to open mobile hotspot without checking subscription status in my new android 4.3 galaxy s3 verizon
where are developers that will modify framework.jar file to enable this again in this new android verizon?
please help
If beans ever gets his 4.3 rom out it will probably be how you want. I know I'm waiting to install safestrap until he releases it. Until then I'm sure you could find a guide on how to do it.
You mean that i wait some months also until this problem solved
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
alnajmalabed said:
You mean that i wait some months also until this problem solved
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I mean opposite, it probably isn't that hard and you can have it now if you do it yourself. Or ask for clues on how to do it instead of expecting someone else to do it for you.
I googled that problem for a week and no answer resolve it.
If you have the way to do that, then thank you very match
Sent from my SCH-I535 using XDA Premium 4 mobile app
And this problem not only on my phone, the problem was found in all verizon phones with android 4.3
Sent from my SCH-I535 using XDA Premium 4 mobile app
I resolved this issue and removed '' checking subscription status '' by a zip file flashed by a custom recovery
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
alnajmalabed said:
I resolved this issue and removed '' checking subscription status '' by a zip file flashed by a custom recovery
Thanks
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Friday night I found out how to manually do it but java was being a pain in the butt and I wanted to test it before telling you how also so I could have the file to upload to you. Just so you know the file you needed to edit was the framework-res.apk not the .jar. the xml that needed to be edited was located at framework-res.apk\res\values\arrays.xml
Decompiled it just fine but on the compile after I was done editing java was being stupid and the compile failed. Hope this information can help you in the future.
ThePagel said:
Friday night I found out how to manually do it but java was being a pain in the butt and I wanted to test it before telling you how also so I could have the file to upload to you. Just so you know the file you needed to edit was the framework-res.apk not the .jar. the xml that needed to be edited was located at framework-res.apk\res\values\arrays.xml
Decompiled it just fine but on the compile after I was done editing java was being stupid and the compile failed. Hope this information can help you in the future.
Click to expand...
Click to collapse
thank you the Pagel
if you need the zip file i will upload it and upload safestrap apk that make custom recovery
alnajmalabed said:
thank you the Pagel
if you need the zip file i will upload it and upload safestrap apk that make custom recovery
Click to expand...
Click to collapse
The zip would be nice if its not to much to ask. I can compair a working mod with my own. I already have safestrap.
The other alternative would be to use foxfi
Medicstud007 said:
The other alternative would be to use foxfi
Click to expand...
Click to collapse
I own foxfi but some people would rather use the built in tether.
HotSpot Toggle Widget by Fattin
ThePagel said:
I own foxfi but some people would rather use the built in tether.
Click to expand...
Click to collapse
The alternative alternative would be to use the HotSpot Toggle Widget by Fattin.
I haven't tried it on 4.3 (have been putting off upgrading because of too many cons for the pros...) - but it bypasses all that verification stuff - still using the built-in tether.
Yackley said:
The alternative alternative would be to use the HotSpot Toggle Widget by Fattin.
I haven't tried it on 4.3 (have been putting off upgrading because of too many cons for the pros...) - but it bypasses all that verification stuff - still using the built-in tether.
Click to expand...
Click to collapse
Or edit the framework-res.apk yourself. I am glad I know how now because I will never need to wait for someone else to do it. well the only reason Iwould is if foxfi breaks in a update.
ThePagel said:
Or edit the framework-res.apk yourself. I am glad I know how now because I will never need to wait for someone else to do it. well the only reason Iwould is if foxfi breaks in a update.
Click to expand...
Click to collapse
Where did you learn how to edit the framework-res.apk? I would rather know how to do it myself but my java skills are rudimentary at best (though I am a quick learner!!). What did you use to do the editing?
Thanks!
I downloaded a note 2 recovery zip of the modified apk. I then spent about ten minutes googling where the tether subscription checker was located then compared my apk to the note 2 apk. A lot of trial and error if you would like to see it old and slow has a edited recovery zip for the 4.3 tether (came out a day after I was looking for it so that's why I didn't choose that one). Just decompile both apk and look in framework-res.apk\res\values\arrays.xml. what I did when comparing it to the note 2 was open both of the XML in notepad++ and compare lines. I am confident I can now mod it without examples if it ever happens again. Finding a decompiler is the easy part there are a lot of free ones out there just Google it and as long as you can recognize every character in the XML (no odd symbols) it decompiled correctly. I could not find a guid on how to do this but I probably learned more from my errors than I would have learned from a step by step. Hope that helps and sorry if that made no sense typed it in a rush.
---------- Post added 31st January 2014 at 12:02 AM ---------- Previous post was 30th January 2014 at 11:53 PM ----------
Oh and if you dig around in the apk long enough you might notice how easy (but time consuming) it would be to make your own custom modifications and themes for your own rom. I like doing it this way over xposed because no matter what I do xposed is super buggy for me.

Can someone undertake adaptation of the script for us?

Hi!
Useful thing. Can someone adapt it to us?
If you can test it, I think he will support our phone officialy, @Patrics83 is a nice guy!
xpirt
xpirt said:
If you can test it, I think he will support our phone officialy, @Patrics83 is a nice guy!
Click to expand...
Click to collapse
Can you write to him?
BrateloSlava said:
Can you write to him?
Click to expand...
Click to collapse
I wrote to him to add support for Desire X and he accepted if I would test, but as I changed phone I couldn't continue.
You can write to him and test it too, why I should write to him? I can't also test..
xpirt
xpirt said:
I wrote to him to add support for Desire X and he accepted if I would test, but as I changed phone I couldn't continue.
You can write to him and test it too, why I should write to him? I can't also test..
Click to expand...
Click to collapse
We'll see. Maybe on this forum there are bold ...
I have used this on my device. Made slight changes, works great . I just haven't shared it here because I haven't asked for permission to do so, and out of respect I wouldnt want to trump the dudes work.
Sent from my C525c using Tapatalk
Modding.MyMind said:
I have used this on my device...
Click to expand...
Click to collapse
I don't understand. You are using non public version?
Public version work without problem, I use it after update to 4.2.2. Only bug is that it remove fm radio so you need to push it back to system after running rom cleaner.
Sent from my HTC One SV
BrateloSlava said:
Hi!
Useful thing. Can someone adapt it to us?
Click to expand...
Click to collapse
One X version should work. What might be a problem is the "update-binary-installer" (device dependent)
If the update-binary-installer isn't compatible with your device, the updater-script will fail and show a blank install screen.
Modding.MyMind said:
I have used this on my device. Made slight changes, works great . I just haven't shared it here because I haven't asked for permission to do so, and out of respect I wouldnt want to trump the dudes work.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
Slightly changes as in?
Please let me know.
And thanks for not sharing without permissions
bataya said:
Public version work without problem, I use it after update to 4.2.2. Only bug is that it remove fm radio so you need to push it back to system after running rom cleaner.
Sent from my HTC One SV
Click to expand...
Click to collapse
And I'm sorry to say this but users like you is what keeping me away from supporting too many devices.
Helping lazy users all days isn't why I came here to XDA and developed ROM Cleaner.
Terms of Use
ROM Cleaner will remove apps and files
from your device.
If basic ROM Cleaner setup removed too much
apps and files after running, just download
"ROMCleaner_user.txt" or "NO-Sense_user.txt"
or "CM-AOSP_user.txt" from ROM Cleaner thread 
 @xda and make your personal edits.
More details can be found in second post...
ROM Cleaner is well tested by us and thousands
of users and should not make your phone unstable.
If you do get into trouble, make a post in the
adequate ROM Cleaner thread and we will help you.
Important!
When you flash this script you will heavily
modify the ROM! So before you report bugs or
non working apps (etc) in ROM Development threads,
think twice and please feel free to ask us first.
Requirements
- You can read this...
- Bloated HTC device
With other words, that's not a bug in ROM Cleaner.
You just didn't read about the ROMCleaner_user.txt.
Patrics83 said:
How To Edit Your Personal User.txt​
Steps you need to do:
--- Windows users, download Notepad++ and install it.
--- Download "ROMCleaner_user.txt" or "NO-Sense_user.txt" from the firstpost
--- Open the text file with Notepad++
In the text file you will find two columns with app names and a description in this guide we use AdobeReader.apk as an example.
To Remove a file with ROMCleaner
Code:
AdobeReader.apk Adobe Reader PDF reader
In the case above "AdobeReader.apk" will be removed.
To keep a file with ROMCleaner If you decide to keep it, add a "#" at the beginning of the line:
Code:
[COLOR=Red]#[/COLOR]AdobeReader.apk Adobe Reader PDF reader
Let's say we are done with the edits. To continue just complete next list:
--- Press the "X" in the upper right corner of the screen to save the changes.
--- Copy the file onto your sdcard. The file must be located in "/sdcard/ROMCleaner" folder.
Now ROM Cleaner script will always read that file!​
Click to expand...
Click to collapse
You need to comment out:
Code:
[COLOR="red"]#[/COLOR]FMRadioService.apk FMRadioService
[COLOR="red"]#[/COLOR]FM_Radio.apk FM Radio App
BrateloSlava said:
I don't understand. You are using non public version?
Click to expand...
Click to collapse
No. I took the one he shares on that thread. I went in the zip file and made minor adjustments for my 4.1.2 Rom. Then used it. I haven't shared it because even though I made some changes, it is ultimately his work so I haven't shared the one I made modifications to due to me not asking for his permissions to distribute it publicly on our forum. So I have held on to it as a personal resource.
Sent from my C525c using Tapatalk
---------- Post added at 02:44 PM ---------- Previous post was at 02:38 PM ----------
Patrics83 said:
Slightly changes as in?
Please let me know.
And thanks for not sharing without permissions
Click to expand...
Click to collapse
When I get the chance I will send it your way with a list. Been busy working, so free time has been short. Also, I have something else for you to consider in regards to the list of launchers to choose from. I will let you know more details.
Sent from my C525c using Tapatalk
Result -? We must use the version from X or version will be made for our model?
Patrics83 said:
One X version should work. What might be a problem is the "update-binary-installer" (device dependent)
If the update-binary-installer isn't compatible with your device, the updater-script will fail and show a blank install screen.
Slightly changes as in?
Please let me know.
And thanks for not sharing without permissions
And I'm sorry to say this but users like you is what keeping me away from supporting too many devices.
Helping lazy users all days isn't why I came here to XDA and developed ROM Cleaner.
Terms of Use
ROM Cleaner will remove apps and files
from your device.
If basic ROM Cleaner setup removed too much
apps and files after running, just download
"ROMCleaner_user.txt" or "NO-Sense_user.txt"
or "CM-AOSP_user.txt" from ROM Cleaner thread
@xda and make your personal edits.
More details can be found in second post...
ROM Cleaner is well tested by us and thousands
of users and should not make your phone unstable.
If you do get into trouble, make a post in the
adequate ROM Cleaner thread and we will help you.
Important!
When you flash this script you will heavily
modify the ROM! So before you report bugs or
non working apps (etc) in ROM Development threads,
think twice and please feel free to ask us first.
Requirements
- You can read this...
- Bloated HTC device
With other words, that's not a bug in ROM Cleaner.
You just didn't read about the ROMCleaner_user.txt.
You need to comment out:
Code:
[COLOR="red"]#[/COLOR]FMRadioService.apk FMRadioService
[COLOR="red"]#[/COLOR]FM_Radio.apk FM Radio App
Click to expand...
Click to collapse
Did i complain about it or something? Did I spamming your topic or your inbox because it remove radio apk?
Someone ask does script work with one sv because it doesn't officially support it. I wrote that it work but you need to push radio back to system.
Don't see why you have problem with that.
Sent from my HTC One SV
bataya said:
Did i complain about it or something? Did I spamming your topic or your inbox because it remove radio apk?
Someone ask does script work with one sv because it doesn't officially support it. I wrote that it work but you need to push radio back to system.
Don't see why you have problem with that.
Sent from my HTC One SV
Click to expand...
Click to collapse
LOL, read again what I wrote...
FM Radio is removed by default (is that a bug?)
If you still want fm radio then customize your ROMCleaner_user.txt
Sent from my HTC One
BrateloSlava said:
Result -? We must use the version from X or version will be made for our model?
Click to expand...
Click to collapse
This device will not be officially supported, sorry.
Sent from my HTC One
Well I stop reading from part where you wrote that I'm lazy user.
Sent from my HTC One SV
bataya said:
Well I stop reading from part where you wrote that I'm lazy user.
Sent from my HTC One SV
Click to expand...
Click to collapse
Well, you should know how frustrating it is developing, writing manuals and people not reading what they are flashing or how to use the freely provided software correctly. It takes lots of time dev-ing making it as user-friendly as possible. Most questions are answered in the manual, which you agreed to have read it while flashing.
Using ROMCleaner and edit it to your demands isn't really rocket science.
So don't stop reading manuals and replies, it will only lead to more frustration for us and to other users.
Having this said: I urge you leaving the discussion as it is, and PLEASE keep reading, as it shows some respect to Patrics83 and his team.
Let's go on with this thread. Cheers!
BrateloSlava said:
Result -? We must use the version from X or version will be made for our model?
Click to expand...
Click to collapse
Yep, that's the first step. Just use that version and provide us some more feedback, we will keep an eye in this thread and provide help if needed.

[Q&A] [MOD] On-screen navigation bar 23.3.23

Q&A for [MOD] On-screen navigation bar 23.3.23
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD] On-screen navigation bar 23.3.23. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Dr. Carpenter said:
Nobody, anywhere, ever, is liable for anything you do to your device
Here is a flashable zip for the on-screen navigation bar on the latest OTA (23.3.23). It will also disable the capacitative buttons, but does not disable the lighting, although that can be done easily with GravityBox[KK].
Flash in TWRP recovery. Flash the revert file to return to stock to accept future OTA's.
Neither file should flash on any other system than 23.3.23 on the Droid Ultra or Maxx, so there is little to no risk of damage, but you are solely responsible for your device.
View attachment 2978533
View attachment 2978534
Click to expand...
Click to collapse
Will this work on 23.3.24?
kbl1224 said:
Will this work on 23.3.24?
Click to expand...
Click to collapse
Gotta love the QA bot... Had no notification for your post. Anyway, I don't have an update yet for 24, but probably will tomorrow. It does appear that the update does have a patch for the framework file that this mod changes, so do not flash this version on 24. It should fail the compatibility check and abort anyway, but just don't do it lol.
Sent from my XT1080 using Tapatalk
Awesome! Thanks! That would be great!
Sent from my XT1080 Developer Edition using Tapatalk
Aaaand this is why I shouldn't give ETA's... Maybe this weekend
Sent from my XT1080 using Tapatalk
Dr. Carpenter said:
Aaaand this is why I shouldn't give ETA's... Maybe this weekend
Sent from my XT1080 using Tapatalk
Click to expand...
Click to collapse
Thanks! Could you point me in the direction of a tutorial to do this? I know you and WhiteChallenger were going back add fourth about this before, but I can't seem to find the thread. Thanks for your help!
Sent from my XT1080 Developer Edition using Tapatalk
bendrum30 said:
Thanks! Could you point me in the direction of a tutorial to do this? I know you and WhiteChallenger were going back add fourth about this before, but I can't seem to find the thread. Thanks for your help!
Sent from my XT1080 Developer Edition using Tapatalk
Click to expand...
Click to collapse
Yeah, sorry, I've been meaning to get this done, just been crazy busy.
You'll need to have some form of apktool installed (I use android multitool, on mobile right now so no link, sorry). Pull framework-res.apk from system/framework. Decompile it using apktool.
In the decompiled folder, navigate to /res/values and open bools.XML. Notepad++ works great.
Go to around line 71 and change the "shownavigationbar" value from false to true. Then around line 178 change "config_showmenubar" from true to false.
Save the XML, and compile using apktool. Be sure to follow the directions to replace the manifest and meta-inf folder. I use 7zip for that.
Then, use 7zip again to replace the apk in the installer zip with the one you just edited. I would first make a copy of the installer and rename to reflect the new system version.
Finally, in 7zip, pull out the file META-INF/com/google/android/updater-script. Open in notepad++, and edit the ro.build.version.full line to match the new system. You can find this in the build.prop using root explorer on your phone. If this doesn't match, it won't install.
Save the file, and copy it back into the installer in 7zip, replacing the old one.
Flash and enjoy
Edit: this is off the top of my head, so if anything is wrong/doesn't work, let me know
Sent from my XT1080 using Tapatalk
I'll give it a shot and let you know! Thank you!
Sent from my XT1080 Developer Edition using Tapatalk
Great instructions! Worked perfectly on the first try! Thank you so much for taking the time!
Sent from my XT1080 Developer Edition using Tapatalk
bendrum30 said:
Great instructions! Worked perfectly on the first try! Thank you so much for taking the time!
Sent from my XT1080 Developer Edition using Tapatalk
Click to expand...
Click to collapse
Glad to hear it. I'd really appreciate it if you could post it in the main thread for others to use.
Sent from my XT1080 using Tapatalk
Posted to the main thread. I wanted to make sure all the zips worked. Thanks again!
Sent from my XT1080 Developer Edition using Tapatalk

Categories

Resources