Hi!
Im on a modded stock ROM and i have done a test, will running Antutu benchmark test i run to logcat and get this errors:
Code:
E hwcomposer: setGpuBoost:228: Can't open /sys/class/devfreq/gpufreq/max_freq: Permission denied
E Unity : (Filename: ./Runtime/GfxDevice/egl/ConfigEGL.cpp Line: 374)
E Unity : [EGL] eglChooseConfig(m_EGLDisplay, configAttribs, NULL, 0, &eglConfigCount): EGL_BAD_ATTRIBUTE: An unrecognized attribute or attribute value was passed in the attribute list.
What is wrong here?!
If you want to try this is what you need to do:
after boot the phone, wait a bit, enable debug mode and in adb write this:
Code:
adb shell logcat >> c:\logcat.prop
run Antutu and press enter in adb! Wait to finish then and press CTL+C to finish logcat.
Go to c:\ and open logcat.prop with notepad++ [ is easy to read the file]
.
But what all of this mean? I understand setgpuboost, but it just raise the mhz from 0 to 400-500 mhz? Give permission to that file and try again.
D1stRU3T0R said:
But what all of this mean? I understand setgpuboost, but it just raise the mhz from 0 to 400-500 mhz? Give permission to that file and try again.
Click to expand...
Click to collapse
This means that stock rom still have bugs...
Im still checking but need help like where is setgpuboost, what is trying to do, etc, etc...
.
@persona78 i don't think GPU boost is available for this phone! I already tried that and never got success, so, yeah, that's just my opinion!
RootingPro-18 said:
@persona78 i don't think GPU boost is available for this phone! I already tried that and never got success, so, yeah, that's just my opinion!
Click to expand...
Click to collapse
I don´t add it! Is already on kernel/system by default!
.
persona78 said:
I don´t add it! Is already on kernel/system by default!
.
Click to expand...
Click to collapse
It don't work, anyway! It is there just for fun!
persona78 said:
This means that stock rom still have bugs...
Im still checking but need help like where is setgpuboost, what is trying to do, etc, etc...
.
Click to expand...
Click to collapse
I reported to Huawei
RootingPro-18 said:
It don't work, anyway! It is there just for fun!
Click to expand...
Click to collapse
looool
Huawei do a lot of things just for fun! :laugh: :laugh: :laugh:
.
persona78 said:
looool
Huawei do a lot of things just for fun! :laugh: :laugh: :laugh:
.
Click to expand...
Click to collapse
In My country we Huawei Call ****Way?
Oh! And is missing this lib for EGL to, libhwuibp.so in lib and lib64 ...!
I pick it from P8 ... seems to work ...
Huawei ... the best ... -.-
.
@persona78 huh? Show me too!
persona78 said:
Oh! And is missing this lib for EGL to, libhwuibp.so in lib and lib64 ...!
I pick it from P8 ... seems to work ...
Huawei ... the best ... -.-
.
Click to expand...
Click to collapse
Aand what changes did you saw?
D1stRU3T0R said:
Aand what changes did you saw?
Click to expand...
Click to collapse
Not much but the error in logcat is gone!
.
RootingPro-18 said:
@persona78 huh? Show me too!
Click to expand...
Click to collapse
If you want to install it this is the zip.
Ups!!!! I think a add an wrong file!!!!
.
persona78 said:
If you want to install it this is the zip.
Ups!!!! I think a add an wrong file!!!!
.
Click to expand...
Click to collapse
Can't we change the lib and the max_value file to 600 for example, and the performance file from sys/etc?
D1stRU3T0R said:
Can't we change the lib and the max_value file to 600 for example, and the performance file from sys/etc?
Click to expand...
Click to collapse
I think [ i can´t] that we can´t edit lib files...
.
persona78 said:
I think [ i can´t] that we can´t edit lib files...
.
Click to expand...
Click to collapse
Soo than the text files? +100mhz gpu/cpu, maybe it will work at one of them
persona78 said:
If you want to install it this is the zip.
Ups!!!! I think a add an wrong file!!!!
.
Click to expand...
Click to collapse
Yup, wrong file??
errors
more errors...
Code:
error [ini_find_var_value:780]open /system/etc/hisi_cfg_alice.ini failed!!!
persona78 said:
errors
more errors...
Click to expand...
Click to collapse
Okey! This is from prop or else?
Related
Hi Xda-people,
After succes building a rom for the vodafone 845 I now want to deodex the rom. I have already tried the THEME-PRO v2.9 (no error on deodexing) after flashing only getting a bootloop. I olso tried another deodexing kitchen but that got stuck on bleutooth.odex and another couple apk's and odex files.
Could someone please help me out here?
Thanx in advance
So its a stock android rom ? Try the deodex script link in my signature.
Also for bluetooth u need to add javax.obex.jar to ur classpath.
Daneshm90 said:
So its a stock android rom ? Try the deodex script link in my signature.
Also for bluetooth u need to add javax.obex.jar to ur classpath.
Click to expand...
Click to collapse
i have tried your script and got stuck on a couple of apk's + odex files that could'nt be deodexed.. could you also explain what you mean with add javax-obex.jar to ur classpath? I'm complete new to the rombuild scene..
it's based on a stock rom, i have added some features and delete some standaard apps..
freddyemmer said:
i have tried your script and got stuck on a couple of apk's + odex files that could'nt be deodexed.. could you also explain what you mean with add javax-obex.jar to ur classpath? I'm complete new to the rombuild scene..
it's based on a stock rom, i have added some features and delete some standaard apps..
Click to expand...
Click to collapse
Ok once its done deodexing, u'll have a couple of apks left that couldn't be deodexed. If its bluetooth.apk, select option 2 (custom classpath) and type javax.obex.jar
Most of the time the error u get when deodexing should tell u wht apk it needs in its classpath.
But when i use your script i don't see the errors because it's continue's to the next apk.. or framework. this rom also has 2 framework apks does that matter?
freddyemmer said:
But when i use your script i don't see the errors because it's continue's to the next apk.. or framework. this rom also has 2 framework apks does that matter?
Click to expand...
Click to collapse
Can u upload the rom, ill deodex n upload it back. ill let u know what i did.
http://www.mediafire.com/?d754c9ljn48c368
that's my rom.. Thanx in advance...
Ok cool so got the whole rom deodexed.
For bluetooth u needed javax.obex.jar and for the rest u needed com.google.android.gtalkservice.jar in ur classpath.
Uploading shortly...
Here u go
Link
For bluetooth u needed javax.obex.jar and for the rest u needed com.google.android.gtalkservice.jar in ur classpath
Click to expand...
Click to collapse
so if i got it right you choose option 2 and typte
javax.obex.jar:com.google.android.gtalkservice.jar
freddyemmer said:
so if i got it right you choose option 2 and typte
javax.obex.jar:com.google.android.gtalkservice.jar
Click to expand...
Click to collapse
Yup. I did em individually but doesn't matter that way should work as well.
Daneshm90 said:
Yup. I did em individually but doesn't matter that way should work as well.
Click to expand...
Click to collapse
help again adding the new apk and framework files i get a fc on com.android.phone.. please help..
freddyemmer said:
help again adding the new apk and framework files i get a fc on com.android.phone.. please help..
Click to expand...
Click to collapse
Are u wiping and flashing ?
Daneshm90 said:
Are u wiping and flashing ?
Click to expand...
Click to collapse
i replaced all the apps and framework in my working folder zipped and signed did a full wipe and flashed it.. then setup came up and saying fc on phone
freddyemmer said:
i replaced all the apps and framework in my working folder zipped and signed did a full wipe and flashed it.. then setup came up and saying fc on phone
Click to expand...
Click to collapse
Hmmm. Can u check ur log to see why it force-closes ? also does it let u continue or are u stuck at setup ? i want to know if other apps fc.
it won't allow me to finish the setup.. maybe stupid question but how do i get the log?
freddyemmer said:
it won't allow me to finish the setup.. maybe stupid question but how do i get the log?
Click to expand...
Click to collapse
Type "adb logcat" in command prompt.
Oke tried it but logcat is disabled on my rom.. I used the commands in recovery
echo 1 > /sys/kernel/logger/log_main/enable // ** '1' is enable log_main,
echo 2 >/sys/kernel/logger/log_main/priority // ** '2' is the log level, you can get the level number from the android source code.
but that apparently has no effect for the rom.. I think something went wrong while deodexing.. any tips how to enable the logcat?
tried deodexing it again with the 2 yar files.. it's not only phone that fc also setup fc.. trying to find out how to add catlog to my rom so i can check it..
hello guys , cm10 now has reaches a state of stability somehow but sometimes hd games with sd data crashes and dont work so we are working on it
-----------------------------------------------------------------------
attempts:
=========
patching boot.img,vold.fstab,framework-res.apk >results bootloop
patching boot.img with a symlink >stuck on lg logo
NOW>check the logcat to find the bug and fix it
-----------------------------------------------------------------------
edit (13/10/2012) :
previous fix may fix some games but im currently working on a whole fix for this
edit(14/10/2012)
- well several attemps didnt work from tantrums and xonar_
- im attaching a logcat of my system with "gangstar miami" when it crashes
devs please look into it
- removed attached bin ,, turns out useless file sorry
edit(15/10/2012)
- i have found the bug that made all this issues its "gpu overlay" issue
its in the kernel here
rrgrrg said:
hello guys , cm10 now has reaches a state of stability somehow but sometimes hd games with sd data crashes and dont work so i gladly have a fix for that ,this fixes the problem with
SOME games like gangstar maiami ,gta3
but for asphalt 7 we need a symlink so that "sdcard0" appear as "sdcard" and im working on it with the master xonar_
this fix is just an orignal binary file of sd card takes from earlier version of android and it was modded thanks to "jnr21" for all jelly beans
and i modded it a bit so it can work flawlessly
for the fix use it on "jelly bean" ONLY and Do davlik wipe and partition cache wipe before flashing
now i need help from devs to change the name of sdcard !
Click to expand...
Click to collapse
Is there any other games that also have this problem which aren't so large? I can't download that much and it costs money to buy.
UniversalSS said:
I am very sorry to post this but,Search ********.** for games
Sent from my LG-P970 using xda app-developers app
Click to expand...
Click to collapse
This is against the rules, you supposed to support devs. not to link cracked apps.
Mexickano said:
This is against the rules, you supposed to support devs. not to link cracked apps.
Click to expand...
Click to collapse
sorry for that ,, we are making a fix that depends on games with sd data and all of them are not for free ,, sorry
@rrgrrg Good job, if is there something in what I can help you, I'm able.
Mexickano said:
@rrgrrg Good job, if is there something in what I can help you, I'm able.
Click to expand...
Click to collapse
we need to modify the ramdisk so sd card is named "sdcard" instead of "sdcard0",, there is a zip here contains all the files we need to mod
framework-res.apk,boot.img,vold.config,vold.fstab ,,, these files are takes from the latest cm10 nightly
Mexickano said:
This is against the rules, you supposed to support devs. not to link cracked apps.
Click to expand...
Click to collapse
Sorry,I was just trying to help.
Sent from my LG-P970 using xda app-developers app
rrgrrg said:
we need to modify the ramdisk so sd card is named "sdcard" instead of "sdcard0"...these files are takes from the latest cm10 nightly
Click to expand...
Click to collapse
I decompile and compile boot.img and edited the files with 'sdcard0' to 'sdcard'.
I'm working in framework-res.apk, but i cant find these files: "vold.config,vold.fstab"
Mexickano said:
I decompile and compile boot.img and edited the files with 'sdcard0' to 'sdcard'.
I'm working in framework-res.apk, but i cant find these files: "vold.config,vold.fstab"
Click to expand...
Click to collapse
res/xml/storage_list.xml
gabwerkz said:
res/xml/storage_list.xml
Click to expand...
Click to collapse
Thank you, just one question, How to edit xml files?
I tried XML Copy Editor, Notepad++, even installed Eclipse and it give me an error(lol), thanks in advanced.
Mexickano said:
Thank you, just one question, How to edit xml files?
I tried XML Copy Editor, Notepad++, even installed Eclipse and it give me an error(lol), thanks in advanced.
Click to expand...
Click to collapse
You have to decompile it with apktool first.
Sent from my LG-P970
xonar_ said:
You have to decompile it with apktool first.
Sent from my LG-P970
Click to expand...
Click to collapse
Im in Ubuntu, what apktool do you recommend me use?
Mexickano said:
I decompile and compile boot.img and edited the files with 'sdcard0' to 'sdcard'.
I'm working in framework-res.apk, but i cant find these files: "vold.config,vold.fstab"
Click to expand...
Click to collapse
vold.fstab is in /system/etc
I don't know what vold.conf does. It was used in android 1.6 to 2.1 and I'm not sure why it's still there, but it's also in /system/etc
Sent from my LG-P970
well i think we should mod them both to avoid any errors or something :highfive:
I'm creating a CWM flashable zip.
Will upload in a while.
---------- Post added at 11:39 PM ---------- Previous post was at 11:25 PM ----------
Here it is : SDCard_patch.zip - 9.17 MB
*Note : I was not able to test it yet.
thanks alot trantrums but ive got a bootloop
also xonar_ sent me a modded boot.img and i got stuck on lg logo
i think its about permissions so im going to make onother lap on the binary file
tantrums said:
I'm creating a CWM flashable zip.
Will upload in a while.
---------- Post added at 11:39 PM ---------- Previous post was at 11:25 PM ----------
Here it is : SDCard_patch.zip - 9.17 MB
*Note : I was not able to test it yet.
Click to expand...
Click to collapse
I get bootloop, any ideas?
Mexickano said:
I get bootloop, any ideas?
Click to expand...
Click to collapse
well ,, its a problem ,, please look into the logcat i attached in the 1st page to see where the problem is ,, the game wich crashes is "gameloft gangstar "
Mexickano said:
Im in Ubuntu, what apktool do you recommend me use?
Click to expand...
Click to collapse
Apk multi-tool.
Sent from my LG-P970 using Tapatalk 2
rrgrrg said:
thanks alot trantrums but ive got a bootloop
also xonar_ sent me a modded boot.img and i got stuck on lg logo
i think its about permissions so im going to make onother lap on the binary file
Click to expand...
Click to collapse
Hmmm, are you sure that the cause of the SOD is the sdcard0 ?
Welcome To another work By XDA dev mythi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The AIO Toolkit For Tab 2 !!!
So your lazy and you can't even think of rebooting your tab to recovery or as simple that you can't flash a zip
or you are a noobish guy and wants something fast and simple to do basic things well here you go the MTabKiT does it for you and more, head up for more info about the kit !!!
Click to expand...
Click to collapse
The toolkit is the most compelete kit ever !!!!
Click to expand...
Click to collapse
Supports only windows for -now- and this things needs root for most of it's action but you have the option to install a recovery and root your device!!
-------------------------------------------~~~_--------
What can this tool do then ?????
1.Install philz recovery
2.Root your tab
3.Give detalied info about your tab
4.Give your current lcd density
5.Side load a zip file
6.Push system apps to system partition
7.Back up your phone
8.Restore your phone
9.Sing roms,zip packges,apk files !!
10.Zip align apk files !!!
11.Reboot to recovery
12.Normal reboot
13.Reboot to Download mode
14.Reboot to boot loader
15.HOT Reboot
16.Take a logcat
17.Get your lcd density number (next realse well have the option to change lcd density)
18.Make a system dump !!!
19.Pulls only your framework folder
20.Apk installer [differs alot from apk pusher !!]
21.Option to view or save IMEI code !!!
22.Fix phone permissions
23.Instal ad-block hosts
24.Odex your rom (experimental and don't DON"T USE WITH ANYTHING ANOTHER THAN STOCK!!!)
25.Adb explorer thanks alot for DareT0Be
26.ADDED OPTION TO CHANGE LCD DENSITY !!
many more in next realse !!
Click to expand...
Click to collapse
--------
How to install the kit
How to install the kit !!!
1.Download the kit from downloads
2.make a new folder in C:\ called tookit please C:\ partition or else it just won't work !!!
3.Extract the zip to the toolkit folder !!
3.launch the .bat file and enjoy
The script is explonatory !!!!
AND I THINK PRESSING THE THANKS BUTTON IS NOT SOMETHING HARD !!
Click to expand...
Click to collapse
Downloads
V 1.5 HERE
Click to expand...
Click to collapse
please remmeber to to extract the toolkit folder to the root of c:\ partition your i won't work !!!
reseved
change log:
v1 initail realese
v1.1 some code clean up and optimization 11
v1.5 change lcd density option
Click to expand...
Click to collapse
reserved :silly:
last one !!
First to reply. Great work.
Buddy.
Gonna download now.
iroshan said:
First to reply. Great work.
Buddy.
Gonna download now.
Click to expand...
Click to collapse
Thanks !!!!
not working. cmd doesn't find “adb“. windows 7.
Edit
working now MUST BE ON C:, thought it will work from Drive d:\
Well thanks for testing it. The script does not work on any place except c because the directories in the script are set to c:\tools\
thanks dod , very nice and easy tool
juviman35 said:
thanks dod , very nice and easy tool
Click to expand...
Click to collapse
Thanks and any feauter tell me to add it !!
mythi said:
Thanks and any feauter tell me to add it !!
Click to expand...
Click to collapse
What about your recovery.img to tar.md5 converter? Can be added.
Android-Andi said:
What about your recovery.img to tar.md5 converter? Can be added.
Click to expand...
Click to collapse
Well be in future realses i forgot to add it
mythi said:
Well be in future realses i forgot to add it
Click to expand...
Click to collapse
No problem!
Wich PhilZ Touch recovery is included? Latest Blackhawk-Repack?
Android-Andi said:
No problem!
Wich PhilZ Touch recovery is included? Latest Blackhawk-Repack?
Click to expand...
Click to collapse
Yes the latest one for sure !!!
v 1.1 is avalible !!! see change log
new version avalible
is there a way to do it? I have seen roms with this feature enabled and I have been googling but I can't find anything about how to do it.
any help?
thanks in advance
zeratos said:
is there a way to do it? I have seen roms with this feature enabled and I have been googling but I can't find anything about how to do it.
any help?
thanks in advance
Click to expand...
Click to collapse
Just add this line to build prop
ro.config.hw_eyes_protection=7
If it doesn't work probably you don't have the required files in your ROM......And yes....It doesn't work with Esal Kernel probably because of old patches
HaiderHady said:
Just add this line to build prop
ro.config.hw_eyes_protection=7
If it doesn't work probably you don't have the required files in your ROM......And yes....It doesn't work with Esal Kernel probably because of old patches
Click to expand...
Click to collapse
the option appears under display settings but when I click on it it takes me back to the settings menu, do I need an apk or something?
zeratos said:
the option appears under display settings but when I click on it it takes me back to the settings menu, do I need an apk or something?
Click to expand...
Click to collapse
There is an alternative app for this, try Twilight It's better, but require space...
zeratos said:
the option appears under display settings but when I click on it it takes me back to the settings menu, do I need an apk or something?
Click to expand...
Click to collapse
Maybe you don't have the lib files in your rom version.
These libs are included in EMUI 4.0.3
Maybe from B596......
persona78 said:
Maybe you don't have the lib files in your rom version.
Click to expand...
Click to collapse
HaiderHady said:
These libs are included in EMUI 4.0.3
Maybe from B596......
Click to expand...
Click to collapse
maybe you guys could tell me which libraries do I need and if I can extract them and paste them on the b589 rom to make it work?
zeratos said:
maybe you guys could tell me which libraries do I need and if I can extract them and paste them on the b589 rom to make it work?
Click to expand...
Click to collapse
Try to flash this zip ... good luck!
Tell me if worked.
persona78 said:
Try to flash this zip ... good luck!
Tell me if worked.
Click to expand...
Click to collapse
didn't work, the option is there but when you click it it takes you back to the general settings
zeratos said:
didn't work, the option is there but when you click it it takes you back to the general settings
Click to expand...
Click to collapse
Sorry. Update your rom then, i modify B600 with that future, the rom link is in my signature if you want to try.
.
persona78 said:
Try to flash this zip ... good luck!
Tell me if worked.
Click to expand...
Click to collapse
Hi bro this zip don't work on my phone emui4.0
Huawei gplay mini I think that will need an apk for eye protect and lib in above zip .So i need a zip contain apk and lib or xml, thank you.
...
Hello Guys,
TWRP 3.2.3-1 is here.
Update :
* Removed "Firmware" from Backup/Restore as it was causing issues in restore.
Hit thanks if u like it
Download here
you pro mate
What about the changelog?
ekin_strops said:
What about the changelog?
Click to expand...
Click to collapse
Change logs are on twrp website
rkmadotra said:
Change logs are on twrp website
Click to expand...
Click to collapse
Change logs updated
Seems to be working great here.
To solve the low brightness , go to TWRP folder, open .twrps file, fine the 255 value and change it to 4095. this is a left over from the Redmi Note 4 import.
Error when uses
C:\adb>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
egor27 said:
Seems to be working great here.
To solve the low brightness , go to TWRP folder, open .twrps file, fine the 255 value and change it to 4095. this is a left over from the Redmi Note 4 import.
Click to expand...
Click to collapse
I tried this but it resets every time I change brightness
tom.android said:
Error when uses
C:\adb>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
Click to expand...
Click to collapse
I'll take a look
rkmadotra said:
I tried this but it resets every time I change brightness
Click to expand...
Click to collapse
Yes you need to make the brightness changes via the file. It would keep that way.
Look for this line:
tw_brightness_pct
If you can change it code wise it would be best of course.
egor27 said:
Yes you need to make the brightness changes via the file. It would keep that way.
Look for this line:
tw_brightness_pct
If you can change it code wise it would be best of course.
Click to expand...
Click to collapse
Can you help me out doing this. Actually I'm quite busy.
And are you facing issue in restoring. Backup works fine but restore not working. I have tried many
Yes restoring didnt seem to work, backup is fine, restored it with older version with no issues.
Sorry i know nothing about coding.
egor27 said:
Yes restoring didnt seem to work, backup is fine, restored it with older version with no issues.
Sorry i know nothing about coding.
Click to expand...
Click to collapse
Seems like the base recovery has issue itself
Updated with few bugs fixed. Check first post for more info
I have Moto G5 Plus which just got official TWRP support from v3.2.0 and Ported to Mi Max 2 also lol! Hope all roms are also ported(jk)!
Ambar Kambli said:
I have Moto G5 Plus which just got official TWRP support from v3.2.0 and Ported to Mi Max 2 also lol! Hope all roms are also ported(jk)!
Click to expand...
Click to collapse
Ya hope so
rkmadotra said:
Ya hope so
Click to expand...
Click to collapse
Both devices have very similar specs, rom porting won't be that tough
Download link is not working for some reason.
SubZeroNexii said:
Download link is not working for some reason.
Click to expand...
Click to collapse
I am checking
SubZeroNexii said:
Download link is not working for some reason.
Click to expand...
Click to collapse
Link working again