Related
For 4.4 goto 2'nd post
This is for JB 4.3.1
If you like me have the problem of : ( wifi + sim_card ) = wifi not working
here is the fix : credits to HTCZ715E
http://forum.xda-developers.com/showthread.php?t=2368501
but just 1 more step , after making the new "telephony-common.jar" and adb push , and chmod 644
you HAVE TO wipe dalvik+cache
without wipe dalvik+cache it never worked for me.
HTC MyTouch 4G
[ROM] CM-10.2 | AOSP 4.3 Jellybean [KANG] [Oct-11]
cm-10.2-20131011-Albinoman887-glacier
Well heads up to the android 4.4
non of the previous solutions is not working :crying:
today i tried ROM Legacy Carbon 4.4
so i started to use my knowledge about cracking from the old MS-dos ages !!!!!!!!! and i cracked the bcmdhd.ko file
using IDA dissembler and HexEdit the bcmdhd.ko file.
Now wifi works again. :good:
The problem is that , in this method i cannot provide a universal file and you have to make your own cracked driver ".ko" file.
Or the developers of each Rom should use the working source code for the wifi driver which has the complete support for all languages.
refer to this post:
http://forum.xda-developers.com/showthread.php?t=1077329
and also here are some lines from logcat (i changed my mcc , mnc and country to XX ) with the cracked driver.
(i prefer to use cracking instead of patching because it was previously we called it)
Code:
D/Tethering( 1874): Exception adding default nw to upstreamIfaceTypes: java.lang.NullPointerException
E/wpa_supplicant( 2047): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/WifiStateMachine( 1874): Failed to set country code XX
D/MccTable( 2051): updateMccMncConfiguration: mcc=XXX, mnc=XX
D/MccTable( 2051): getLocaleFromMcc to null_ir mcc=XXX
D/MccTable( 2051): getLocaleForLanguageCountry: skipping no language
D/MccTable( 2051): WIFI_COUNTRY_CODE set to ir
I/WifiService( 1874): WifiService trying to set country code to XX with persist set to true
D/MccTable( 2051): updateMccMncConfiguration updateConfig config={1.0 XXXmccXXmnc ?locale ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? themeResource=null}
I/ActivityManager( 1874): Config changes=3 {1.0 XXXmccXXmnc en_US ldltr sw384dp w384dp h615dp 200dpi nrml long port finger -keyb/v/h tball/v s.6 themeResource=null}
The whole problem started from the "wldev_set_country" function in "C" code in a ".h" file of wifi driver.
i don't have the knowledge to manipulate the source code of the wifi driver and compile compile the ".ko" file.
This method is not for pplz who don't know about reverse engineering.
So i opened the "bcmdhd.ko" in IDA disassembler and select the ARM Architecture.
Then searched for the "wldev_set_country" function and in the disassembled code there is some Branches which should be re-routed.
for example: (these are the OP-Codes of ARM cpu)
BNE loc_206E4 in the hex view window "08-00-00-0A"
BNE = Branch if not Equal , (and must have to change to just Branch no matter what is the result of compare )
0A = BNE
EA = B (Branch)
AA = BGE (Branch if Greater or Equal)
..... and etc
The important thing is that in IDA hex-view for examaple it shows : 000206BC 08 00 00 1A
but at the bottom of window it shows: 000206F0 <= this is the address which u needs to find and change in your hex-ediotor
and in hex editor we will change that 1A to 0A
The whole process i re-route 4 branches to get success.
Also i've checked it , and there is no need to appliy the previous patch "telephony-common.jar"
Only the bcmdhd.ko driver needs to patch
I attached the cracked version of my bcmdhd.ko file.
you can try it , BUT IT MAY NOT FOR YOUR COUNTRY AND/OR YOUR SIM CARD and for sure it only works in some Roms
this is the driver version from dmesg
Dongle Host Driver, version 5.90.195.114
Compiled in drivers/net/wireless/bcmdhd on Nov 18 2013 at 17:0
Click to expand...
Click to collapse
i made the attachment for this Rom
[ROM][UNOFFICIAL] LegacyCarbon 4.4 \\ 18.11.2013 \\ Built From Source
you should unzip it and use "adb push" and "chmod 644 "
Code:
adb root
adb push bcmdhd.ko /system/lib/modules/
adb shell
su
cd /system/lib/modules/
chmod 644 bcmdhd.ko
and reboot
----------------------------------------------
HTC MyTouch 4G
[ROM][UNOFFICIAL] LegacyCarbon 4.4 \\ 18.11.2013 \\
I test this file on [ROM][Official][4.4] Evervolv Nightlies
It's compatible And works 100% :good:
BobZombiE said:
I test this file on [ROM][Official][4.4] Evervolv Nightlies
It's compatible And works 100% :good:
Click to expand...
Click to collapse
Did you use it? Bug important? I want to know some information. Thanks!
Sure , i'm using this patched driver almost on all Roms i'm testing and never had any wifi problems.
Sent from my myTouch 4G using xda app-developers app
BobZombiE said:
I test this file on [ROM][Official][4.4] Evervolv Nightlies
It's compatible And works 100% :good:
Click to expand...
Click to collapse
Camera, cam recording, and Browser? What any problem?
If I want back Rom 4.3 after install 4.4. Can I back?!
Thank so much your infomation!
hdhthed said:
Camera, cam recording, and Browser? What any problem?
If I want back Rom 4.3 after install 4.4. Can I back?!
Thank so much your infomation!
Click to expand...
Click to collapse
go to the related thread and take a look , or make a nandroid backup and try.
anyway:
Evervolv 4.0: at this moment: Camera does not work at all . but stock browser is ok :good:
Carbon 4.4 Rom : at this moment : Camera & Cam recording is ok. but stock browser does not work. u have to use other browsers like firefox
Yea! Make a nandroid backup ,after I can restore in Recovery. Have lost root?
hdhthed said:
Yea! Make a nandroid backup ,after I can restore in Recovery. Have lost root?
Click to expand...
Click to collapse
i don't think so
BobZombiE said:
i don't think so
Click to expand...
Click to collapse
Mean? You think lose root or cant restore a backup nandroid ?
hdhthed said:
Mean? You think lose root or cant restore a backup nandroid ?
Click to expand...
Click to collapse
i'm root and s=off , HBOOT 75
and flashed, backed up, restored my phone more than 100 times last week . and never lost root
This is my old phone... Fun to be back here.
I am asking about this modified driver. I need to find out first if my phone uses this driver (looks like a broadcom driver), but if it is, I am going to try it.
My question to the author is: do the changes you made make this driver location agnostic? Because you changed the BNE, to just branch, it seems that you are allowing it to function regardless of the country (in the MMC).
I have an HTC One running 4.4 and my issue is that I really need to use channel 13. My router is set to 13, but no matter what changes I make to the wi-fi region encoding (the region encoding change is successful), I still am limited to only channels 1 to 11.
So I just thought I'd ask to get your input on this...
Thanks,
Paul
help me solve my wifi issue
BobZombiE said:
For 4.4 goto 2'nd post
This is for JB 4.3.1
If you like me have the problem of : ( wifi + sim_card ) = wifi not working
here is the fix : credits to HTCZ715E
http://forum.xda-developers.com/showthread.php?t=2368501
but just 1 more step , after making the new "telephony-common.jar" and adb push , and chmod 644
you HAVE TO wipe dalvik+cache
without wipe dalvik+cache it never worked for me.
HTC MyTouch 4G
[ROM] CM-10.2 | AOSP 4.3 Jellybean [KANG] [Oct-11]
cm-10.2-20131011-Albinoman887-glacier
Click to expand...
Click to collapse
Hey guys ... I'am a normal user having sony xperia ion Lt28h .... I've just flashed CM11 unofficial rom but I have a wifi problem ..... can you teach me how to solve my regional wifi issue as I am in syria and have faced this problem earlier so i know it's a regional problem ..... thx for help
Hello folks at xda
i think it's better to ask our questions that are not helping developers to make stable cm12 here,and not post spams on dev thread.
i just want to say : leave developer threads for developers.:good:
ask general questions here.so devs can focus on important things.
Download rom from this mirror link if you can't download it from mega
Also you can try Resurrection remix [Lollipop 5.0.2] [Credit : @Furrydaus]
[*]USB Charging : Ok
[*]USB ADB : Ok
[*]USB MTP : Ok
[*]Video : Ok
[*]Audio : Ok
[*]Sensors : Ok
[*]Screen rotation : Ok
[*]WLAN : Ok
[*]Wifi hotspot : seems to be working ( Fix! [credit : @MrSteve555] )
[*]GPS : Ok
[*]GSM : Ok
[*]GSM Data : (Fix! [credit : @Sylvester lobo] || or this => A comprehensive Mobile Data fix)
[*]GSM Voice : Ok ( Fix! [credit : @MrSteve555] )
[*]GSM SMS : OK
[*]Bluetooth : Ok
[*]NFC : Ok
[*]Camera : Ok
[*]FM Radio : Not work
[*]Keyboard : Ok
[*]MHL : Not tested
[*]OTG : Ok ( this post )
[*]VPN : Doesn't work
[*]...
How to install cm12 (mrsteve) on sp . by @[SIZE="5"]Dammer Martins[/SIZE]
Small tutorial for instalation of the steves build with working camera and wifi:
1-Download the ROM , ramdix fix, stock kernel and root fix
2-Open the ROM zip an push the ramdisk fiz in to system/bin folder
3-Now, put the ROM zip fixed, stock kernel and the root fix in your sdcard
4-Reboot in recovery, wipe data, cache and dalvik cache
5-Install the ROM, the stock kernel and then the root fix
6-Now reboot the system and wait the phone boot up (this take a veeery long time, trust me )
Tips: don't flash the gapps with the ROM instalation and disable the adaptive brightness to make the auto reboots stop.
Click to expand...
Click to collapse
Fix hot reboots by turning off adaptive brightness(settings->display->adaptive brightness)
Fix connectivity problem on CM12.by @noahvt
Hello,
Finally a fix has arrived for android 5.0 which will allow wi-fi data, outgoing calls, ... to work again
Steps:
1: Make sure your device is running android 5.0 by mrsteve555: http://forum.xda-developers.com/xper...8#post56946968
2: root the device by flashing this file: http://download.chainfire.eu/589/Sup...erSU-v2.16.zip
3: Reboot your device and open up terminal emulator
4: type su, press enter and give it root acces
5: type setenforce 0 and press enter
6: WAIT untill the device asks you to enter your sim pin (this means that it worked)
7: turn on wi-fi (it might take a little long to turn on wi-fi though)
8: that's it
9: well not yet there is one step you can do to make it easier to change the selinux state, Download and install this app:https://play.google.com/store/apps/d....selinux&hl=en
10: again make sure your device is rooted
11: open the app and now you can switch between permissive (this mode is the one that fixed the issues) and enforcing (default mode: wi-fi, ... don't work on this mode)
FAQ:
What is not affected (what doesn't work): The camera (can't connect to camera or hot reboot when launching camera app), more?
What is affected (what is fixed): WI-FI, Data (LTE too) Outgoing calls, more?
Do i have to do this everytime i boot my device: Yes for now you do
On what build does it run: mrsteve555's build, there were 2 reports of it not working on bagy's build
Credits:
Mrsteve555 and bagyusz for the amazing rom
Click to expand...
Click to collapse
just update titanium backup to latest version in case of super user access error.like this : can't aquire root provileges....this attemtp was made using the "/system/xbin/su" command.
Fix wifi hotspot => credit : MrSteve555
setup zram in android 5[credit : Mrsteve555]
Code:
#!/system/bin/sh
sleep 30
echo xM > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
Replace x with your desired value(in MB)
And zram doesn't make phone "much faster", it just allows more multitasking while slowing the phone a bit.
Click to expand...
Click to collapse
fix sdcard mount problem [credit : Mrsteve555]
Code:
su
depmod
rmmod texfat
modprobe exfat_core
modprobe exfat_fs
These commands will try to load different exfat modules, I didn't test it myself, though.
Click to expand...
Click to collapse
Fix for unresponsive touch screen[credit : Mrsteve555]
Code:
#!/system/bin/sh
echo 20 > /sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/finger_threshold
chmod 666 /sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/signal_disparity
echo 0 > /sys/devices/i2c-3/3-0024/main_ttsp_core.cyttsp4_i2c_adapter/signal_disparity
Fix for music file not playing when you uncheck nuplayer in developer options
The solution to that will be installing viper audio. There is a different version for lollipop. You have to flash 3 zips. They need nuplayer off so you can play music and videos easily with nuplayer off
Click to expand...
Click to collapse
Download from this post [Thanks@pranavthombare]
r 3
and-roid007 said:
Fix hot reboots by turning off adaptive brightness(settings->display->adaptive brightness)
Fix connectivity problem on CM12.by @noahvt
Click to expand...
Click to collapse
Really thks ;D
Youve stated that GSM voice hasnt been tested - This is voice calls. Are they working on MrSteves build with the latest fixes or not as there seems to be mixed reports.
---------- Post added at 02:54 PM ---------- Previous post was at 02:52 PM ----------
Also your link to the https://play.google.com/store/apps/d....selinux&hl=en doesnt work
I assume its this app? https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en_GB
and-roid007 said:
Fix hot reboots by turning off adaptive brightness(settings->display->adaptive brightness)
Fix connectivity problem on CM12.by @noahvt
Click to expand...
Click to collapse
The fix isn't working for me
@Oblox
you are right about both.corrected
Sorry the pin code doesn't apear because i don't have set any pin code ... IM REALLYYYYYYY NOOOOOB! xD
Edit: But i can't send call, i recieve
bobslesbricoleurs said:
Sorry the pin code doesn't apear because i don't have set any pin code ... IM REALLYYYYYYY NOOOOOB! xD
Edit: But i can't send call, i recieve
Click to expand...
Click to collapse
just open terminal : type su-> type setenforce 0,hit enter.if no dialog appears dont worry,it's ok.
go to settings-> about phone-> make sure that SELinux status = premissive.
see the bug list :
GSM Voice : doesn't works (Only can recieve calls)
Click to expand...
Click to collapse
and-roid007 said:
How to install cm12 (mrsteve) on sp . by @Dammer Martins
Click to expand...
Click to collapse
What's the problem if I flash GApps with the ROM?
sohan3421 said:
What's the problem if I flash GApps with the ROM?
Click to expand...
Click to collapse
The problem will occur if you do this on first flash as itll take a lot longer to boot and the auto brightness forced reboot will kick in before it finishes. Once system is in and auto brightness disabled then install gapps.
No new about calls?
Sent from my Xperia SP using XDA Premium 4 mobile app
Navigation bar and Pie controls
I know when I moved from 4.4 to 5.0 most things that I could get from xposed or custom roms were gone such as pie controls. I've been looking around for ages and I've managed to remove navigation bar using build.prop and adding a highly customizable pie controls app. If anyone wants a tutorial made to hide navigation bar and get pie controls just ask and ill do it
Pie
Keep Pie In Memory
1. Search root explorer in Google play 3rd one down.
2. Open it and press mount R/W ( top of app)
3. Go into root directory and open the folder data.
4. Create new file and name it local.prop
5. Long hold the newly created app and press open in text editor.
6. Add com.android.lmt
This is to prevent android removing the service from memory when it is low.
Remove Navigation Bar
1. Open build.prop located on /system
2. Add qemu.hw .mainkeys = 1 Remember to add a space between either side of the equals or it won't work
3.Do not reboot until you have downloaded LMT launcher
Add Pie Controls
LMT Launcher ( PIe Controls (Not an actual launcher like nova or apex its just called that) )
1. Download the latest apk from here http://forum.xda-developers.com/showthread.php?t=1330150
2. Open the app make sure autostart is selected
3. Swipe right until you get to Pie.
4.Use these settings ( navigate to the screenshots) it will get rid of the unneeded two extra slots of pie controls
Finally Reboot
If you have titanium backup convert lmt launcher into a system app to integrate the pie controls more into the system
and-roid007 said:
How to install cm12 (mrsteve) on sp . by @[SIZE="5"]Dammer Martins[/SIZE]
Click to expand...
Click to collapse
Why should I add ramdisk fix?
sohan3421 said:
Why should I add ramdisk fix?
Click to expand...
Click to collapse
Why not?
Because the ramdisk inside the zip is either corrupt or incomplete, resulting in bootloop if flashed.
sohan3421 said:
Why should I add ramdisk fix?
Click to expand...
Click to collapse
Coz it'll go in a bootloop if you don't and then clog this thread too, by begging for a link and a guide which was clearly given and posted by many users.
gapps working fine?
shahrukhqasim said:
gapps working fine?
Click to expand...
Click to collapse
yes.i think
Thread moved to : https://forum.xda-developers.com/le-max-2/how-to/le-max-3-eui-5-9-021sr2-diamantik-t3856853
Disclaimer : I am not responsible for bricked devices, dead phones, or you getting fired because the alarm app failed. Please do some research if you have any concerns about doing this to your device .
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, your data , i will laugh at you.
I am happy to present you , the best EUI 5.9.21S experience for the Le Max 3 ( X850 ) .
Things changed and improved :
-> Launcher now support drawer mode ( ported from 28S)
-> Latest Super Manager , with data usage notification ( also from 28S)
-> Removed many useless applications
-> Improved system audio
-> The quiet sound in headphones is now fixed
Tip: Turn off Dolby Atmos , the speaker, earpiece, and headphones will be way louder .
-> Kernel Tweaks and battery optimization scrips
-> [ Update 13/10 ] Changed the behaviour of the deep sleep.
If you encount a bug , please tell me the details in this thread .
Download : http://bit.ly/2yNoUui
** The " R(Number) " means the release number of the ROM , like R1 - first release
The Deep sleep tuner :
http://bit.ly/2EwB9kU
*Install via TWRP above the current ROM , you don't need to change or wipe nothing .
It really helps with the battery life
How to install :
1. You need to have the bootloader unlocked , and the TWRP installed . ( How to do that ( my post link) : https://forum.xda-developers.com/showpost.php?p=76620374&postcount=7 )
**After unlocking the bootloader , you get a green notification led and the phone not turning on , when you try to boot your phone .
[ THE SOLUTION IS : To boot into TWRP ( volume up and power button ) and from TWRP , tap on Reboot --> System , this will boot the phone normally , currently we can do nothing to solve this :crying: ]
Note : If you come from another ROM , you will need to do an wipe on system , data , cache .
Also please take a backup ,if you have already TWRP , and in case you want to restore back.
2. Download the "Deep sleep tuner" and the " 21S Firmware & Modem by @moto999999 ": https://androidfilehost.com/?fid=674106145207488760
3. Download and copy the ROM , Universal_GMS_Doze.zip , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. Flash the Magisk
7. Flash the Universal_GMS_Doze
Apps that I recommend : ( they are not in the ROM)
( Updated 12/10 )
( Currently using all from this list )
1. Power Shade ( adds a new notification bar with android P style , with changed notifications and toggles for all the things. )
**Tip : Select USA region for showing apps in status bar , not an 3 dot circle
2. Add Away ( Removes adds system-wide)
3. Install button Unlocker ( Allows you to bypass the restriction "screen overlay detected" and allow the permison to apps )
4. AndroiTS GPS Test Pro ( for GPS to indentify you faster , first time after instaling the ROM )
5. Greenify - helps with the battery life
6. Volume Booster by GOODEV - boost even more the headphone sound :laugh:
For those that want to freeze apps , a simple and bug-less list :
Note : Is not mandatory !!!
LeEco account
LeEco setup wizard
MyLeEco
LeTVEcoProvider
ANT HAL Service
Fido ( all 3 apps )
VCalendar
Market Feedback Agent,
Following Feed
Fast Transfer
Effect Service
Crash Handler
EuiTransfer.AppData
Bubbles
and AOSP keyboard , if you have Gboard , or another keyboard .
You can use Titanium Backup ( Pro - required ) for this , or IceBox , or any other apps
Credits to @moto999999 for :
- Initial release
- Tweaks to the kernel and battery
@Luis4x4 for all the research he made , for the money he spent on the unlocking bootloader ( ~600 $ ) , and for paying the unbricking of my device . And both for being awesome guys
Credits for rest of the work goes to me @diamantik
Reserved
( In future : maybe i will be able to unlock the lens blur processing for current date )
Will be great ??
[email protected] said:
( In future : maybe i will be able to unlock the lens blur processing for current date )
Will be great
Click to expand...
Click to collapse
Well i will try to unlock , but i really don't think i will be able to do that :crying:
If i succed i will update the post
unlock the lens blur processing for current date
Really like this!
min1968 said:
unlock the lens blur processing for current date
Really like this!
Click to expand...
Click to collapse
I wish i could
I have tried , but failed , need someone who can help , but idk who
diamantik said:
Disclaimer : I am not responsible for bricked devices, dead phones, or you getting fired because the alarm app failed. Please do some research if you have any concerns about doing this to your device .
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, i will tell that you have done all the changes , and took the risk.
I am happy to present you an more better EUI 5.9.21S experience for the Le Max 3 ( X850 ) .
Things changed and improved :
-> Launcher now support drawer mode ( ported from 28S)
-> Latest Super Manager , with data usage notification ( also from 28S)
-> Removed many useless applications
-> Improved system audio
-> The quiet sound in headphones is now fixed
Tip: Turn off Dolby Atmos , the speaker, earpiece, and headphones will be way louder .
-> Kernel Tweaks and battery optimization scrips
( In future : maybe i will be able to unlock the lens blur processing for current date )
If you encount an bug , please tell me the details in this thread .
Download : https://drive.google.com/open?id=1tCsHaJK1MmHzuQUJQSv4mltBFA_L7M5w
** The " R(Number) " means the release number of the ROM , like R1 - first release
How to install :
1. You need to have the bootloader unlocked , and the TWRP installed . ( How to do that ( my post link) : https://forum.xda-developers.com/showpost.php?p=76620374&postcount=7 )
**After unlocking the bootloader , you can get an green notification led and the phone not turning on , when you try to boot your phone .
[ THE SOLUTION IS : To boot into TWRP ( volume up and power button ) and from TWRP , tap on Reboot --> System , this will boot the phone normally , currently we can do nothing to solve this :crying: ]
Note : If you come from another ROM , you will need to do an wipe on system , data , cache .
Also please take an backup , if you want to restore back
2. Download the 21S Firmware & Modem by @moto999999 : https://androidfilehost.com/?fid=674106145207488760
3. Download and copy the ROM , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. After that you can root
***Suggest to root with Magisk ( is way better that SuperSU , and you will can use Snapchat , and will can hide the root )
Apps that I recommend : ( they are not in the ROM)
1. Material Notification Shade Pro ( adds an new notification bar , toggles , android P , O , N style )
**Tip : Select USA region for showing apps in status bar , not an 3 dot circle
2. Add Away ( Removes adds system-wide)
3. Install button Unlocker ( Allows you to bypass the restriction "screen overlay detected" and allow the permison to apps )
4. AndroiTS GPS Test Pro ( for GPS to indentify you faster , first time after instaling the ROM )
Credits to @moto999999 for :
- Initial release
- Tweaks to the kernel and battery
Credits for rest of the work goes to me @diamantik
Click to expand...
Click to collapse
Diamantik I try to insstall Your ROM but ask me about password.... it is possibile ?
[email protected] said:
Diamantik I try to insstall Your ROM but ask me about password.... it is possibile ?
Click to expand...
Click to collapse
You have boot into TWRP , and there is written " Data Encrypted " ?
If yes then skip , and go in TWRP :
--> Tick "do not show again" and the swipe to allow modification. ( if promting )
--> Skip device encryption by clicking "Install" (if the storage size is 0mb or no folder is showing while trying to install, then the device is encrypted. )
--> For solve that, click "Wipe" --> choose to " Format Data " and type " yes " and swipe to format . It's going to wipe EVERYTHING in the internal storage (that's the purpose of device encryption, to prevent unauthorized access to the storage).
--> When completed, go back, click "Reboot" --> "Recovery" , this will restart your recovery (very important, do not reboot the phone into system otherwise you'll start all over. Reboot into recovery, not system).
---> From recovery, click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9 , after that you can root , suggest with Magisk
Keep in mind , you are doing all at your own risk !!!
I am not resposible if you get a brick , or lose your data :angel:
For more cleary Your ROM is now instaled by .zip file Used TWRP. If I try normal start phone, system Ask me about password. Watch this on My YT Channel:
https://youtu.be/1FIxZhyJ7jo
[email protected] said:
For more cleary Your ROM is now instaled by .zip file Used TWRP. If I try normal start phone, system Ask me about password. Watch this on My YT Channel:
https://youtu.be/1FIxZhyJ7jo
Click to expand...
Click to collapse
I understood
For removing password
--> Boot into TWRP
--> If prompts " device encryption " , tap on "Install"
(if the storage size is 0mb or no folder is showing while trying to install, then the device is encrypted. )
--> Go back in standart TWRP menu , from there click "Wipe" --> choose to " Format Data " and type " yes " and swipe to format . It's going to wipe EVERYTHING in the internal storage (that's the purpose of device encryption, to prevent unauthorized access to the storage).
--> When completed, go back, click "Reboot" --> "Recovery" , this will restart your recovery (very important, do not reboot the phone into system otherwise you'll start all over. Reboot into recovery, not system).
---> Now after TWRP rebooted , click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9 , after that you can root , suggest with Magisk .
The password will be removed , is from encrypted data partition
OK. I Have Your ROM
HOW I install your ROM ?
1. enter TWRP mode
2. Wipe all
3. Format
4. Copy Your .zip file into root directory on phone
5. Install your .zip file (without unpacking the zip file)
6. after install -> wipe dalvik cache
7. Reboot -> system
8. Phone start your ROM and standard welcome setings.
That's all -> without this procedure ->click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9
Did I do wrong?
[email protected] said:
OK. I Have Your ROM
HOW I install your ROM ?
1. enter TWRP mode
2. Wipe all
3. Format
4. Copy Your .zip file into root directory on phone
5. Install your .zip file (without unpacking the zip file)
6. after install -> wipe dalvik cache
7. Reboot -> system
8. Phone start your ROM and standard welcome setings.
That's all -> without this procedure ->click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9
Did I do wrong?
Click to expand...
Click to collapse
1. (If prompts " device encryption " , tap on "Install"
1.1 Go home ,after that to "Wipe" --> choose to " Format Data " and type " yes " and swipe to format . It's going to wipe EVERYTHING in the internal storage , an unencrypt your storage . after that click "Reboot" --> "Recovery" , this will restart your recovery (very important, do not reboot the phone into system otherwise you'll start all over. )
1.2 Now after TWRP rebooted :
Copy the ROM , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. After that you can root
***Suggest to root with Magisk
Do some research on youtube if still don't understanding
diamantik said:
1.2 Now after TWRP rebooted :
Copy the ROM , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. After that you can root
Click to expand...
Click to collapse
Rom has been installed correctly Everything works great, especially the sound
I installed everything according to your instructions.
Unfortunately, the phone still does not work in LTE B20 mode. On the second phone LTE B20 works without a problem. I can easily check this because in my area LTE is only using B20
Maybe there is another version of the 21S_Firmware _ & _ Modem_x10.zip which supports B20?
[email protected] said:
Rom has been installed correctly Everything works great, especially the sound
I installed everything according to your instructions.
Unfortunately, the phone still does not work in LTE B20 mode. On the second phone LTE B20 works without a problem. I can easily check this because in my area LTE is only using B20
Maybe there is another version of the 21S_Firmware _ & _ Modem_x10.zip which supports B20?
Click to expand...
Click to collapse
Flash this x10_AOSP.zip modem : https://drive.google.com/file/d/14k-JYlJ0If6TFC5WjAbkC4h94GPcVIuu/view
Maybe this will fix the problem .
If not , i will not can help , maybe ask @moto999999
Also if with the new firmware , the rom make troubles , flash again the 21S_Firmware _ & _ Modem_x10.zip .
I have not tried this firmware
diamantik said:
Flash this x10_AOSP.zip modem : https://drive.google.com/file/d/14k-JYlJ0If6TFC5WjAbkC4h94GPcVIuu/view
Maybe this will fix the problem .
If not , i will not can help , maybe ask @moto999999
Also if with the new firmware , the rom make troubles , flash again the 21S_Firmware _ & _ Modem_x10.zip .
I have not tried this firmware
Click to expand...
Click to collapse
without success , the phone still can not see LTE B20
[email protected] said:
without success , the phone still can not see LTE B20
Click to expand...
Click to collapse
Well i don't have other modem.
Try with the EUI6 modem
Do you know if that's ok with your rom if I'll freeze apps from ant07 list here ?
some screenshots please!!!!!!!
diamantik said:
Well i don't have other modem.
Try with the EUI6 modem
Click to expand...
Click to collapse
I cannot download any app from the play store over mobile network. I mean it doesn't allow me to download and install or update anything from the google store. The system is waiting for WiFi. I'm I doing something wrong?
Bootloader is unlocked, TWRP installed, flashed your rom according to your instruction. No settings were changed yet. Google store settings checked for ability to download over any network. Any suggestions?
Plastic8 said:
I cannot download any app from the play store over mobile network. I mean it doesn't allow me to download and install or update anything from the google store. The system is waiting for WiFi. I'm I doing something wrong?
Bootloader is unlocked, TWRP installed, flashed your rom according to your instruction. No settings were changed yet. Google store settings checked for ability to download over any network. Any suggestions?
Click to expand...
Click to collapse
Firstly , yes you can freeze the apps what you find in ROM .
You can Freeze this apps :
LeEco account
LeEco setup wizard
MyLeEco
LeTVEcoProvider
ANT HAL Service
Fido ( all 3 apps )
VCalendar
Market Feedback Agent,
Following Feed
Fast Transfer
Effect Service
Crash Handler
EuiTransfer.AppData
Bubbles
and AOSP keyboard , if you have Gboard , or another keyboard .
You don't need necessarily to freeze the apps , just make sure that you have the " Deep sleep tuner " flashed .
From my experince there is not a difference with the apps freezed or not . Maybe about 10 minutes of battery life more .
That is why i have not put an list before :laugh: . Also this list isn't interfering with any apps , or android UI from my experince . The ROM was debloated as much as i was able.
The second problem solution :
Open app " Downloads " --> 3 dot ( right up corner ) --> Settings --> Scroll up , until " No limit " , appears .
Select , and done , now clear cache for play store , and this is all , this should remove this inability
OK, I don't think this thread will get any attention, but I want to document it anyway. All this should work on other devices with qcom WiFi drivers.
TL;DR:
Grab iwpriv binary somewhere (i've got my here: https://github.com/kriswebdev/android_wireless_tools/tree/master/bin)
adb push iwpriv /data/local/tmp/
adb shell su -c chmod +x /data/local/tmp/iwpriv
Code:
#!/system/bin/sh
ip link set wlan0 down
sleep 1
echo 4 > /sys/module/wlan/parameters/con_mode
sleep 2
ip link set wlan0 up
/data/local/tmp/iwpriv wlan0 monitor 1
/data/local/tmp/iwpriv wlan0 MonitorModeConf 9 40 1 111 0
And enjoy your airodump output
NO PACKET INJECTION! (stubbed out in driver, removed previously?)
If you don't receive any packets, issue "/data/local/tmp/iwpriv wlan0 monitor 1" again.
How does this all work?
Some time ago I discovered these strings in wlan_hal_msg.h: (they appeared in google):
Code:
...
/* Monitor Mode */
WLAN_HAL_ENABLE_MONITOR_MODE_REQ = 302,
WLAN_HAL_ENABLE_MONITOR_MODE_RSP = 303,
WLAN_HAL_DISABLE_MONITOR_MODE_REQ = 304,
WLAN_HAL_DISABLE_MONITOR_MODE_RSP = 305,
...
Then I unscrambled some indirections:
WLAN_HAL_ENABLE_MONITOR_MODE_REQ to WDI_MON_START_REQ in WDI_2_HAL_REQ_TYPE
WDI_MON_START_REQ sent in WDI_ProcessMonStartReq <— actual message sents here!
Called from "Request Processing Array" in function WDI_MonStartReq
Wrapped in WDA_ProcessMonStartReq, which is called in WDA_McProcessMsg by message WDA_MON_START_REQ
Which message is posted by wlan_hdd_mon_postMsg if (MON_MODE_START == pMonCtx->state)
Which is called in __iw_setint_getnone with sub_cmd = WE_SET_MONITOR_STATE
Which is set by iw_priv cmd "monitor"
And then figured out that driver works in different modes:
(vos_types.h)
Code:
/// Concurrency role. These are generic IDs that identify the various roles
/// in the software system.
typedef enum
{ /*ON linux maintain 1-1 corespondence with device_mode_t in hdd*/
VOS_STA_MODE=0,
VOS_STA_SAP_MODE=1, //to support softAp mode . This is misleading. It means AP MODE only.
//The constant name has historical reason
VOS_P2P_CLIENT_MODE,
VOS_P2P_GO_MODE,
VOS_MONITOR_MODE,
VOS_FTM_MODE = 5,
VOS_IBSS_MODE,
VOS_P2P_DEVICE,
VOS_MAX_NO_OF_MODE
} tVOS_CON_MODE;
Mode can be changed by "con_mode" module parameter.
(idk why they reinvented the wheel and not used the default "iw dev wlan0 set mode monitor")
Combined all this and... got a kernel panic. You may get it too. Main reasons are:
- You have not disabled WiFi before changing the mode
- The sleep time after disabling interface is short
- Driver is old. Yes, you can get crashes on some kernels. If you are, flash AGNi.
After successful switching you'll get a working monitor (check this with tcpdump -i wlan0), but with ethernet packets instead of radiotap, so airodump will not work. Luckily, this giant crappy driver can work with radiotap, but you need to configure it. This is done by another iwpriv call:
MonitorModeConf: <channel> <bandwidth> <crccheck> <filter> <conversion_required>
Filter: 3 decimal numbers
least to most: management packets, control packets, data packets
Conversion: 1 - ARPHRD_ETHER (802.3 packets), 0 - ARPHRD_IEEE80211_RADIOTAP (802.11 packets)
(again don't know why they implemented these calls instead of default ioctl's for channel switch, etc. This makes airodump unable to switch channels)
As a result you may get something like on a screenshot
Happy sniffing!
Who said it will not be an interesting , I my self appreciated your effort to bring this up. Kudos to you friend.
Crayvolt said:
Who said it will not be an interesting , I my self appreciated your effort to bring this up. Kudos to you friend.
Click to expand...
Click to collapse
Thanks. I wanted to say that kenzo development is almost dead, we've lost official LOS and keep losing devs.... So it's most likely we'll not see working packet injection (cuz devs who know driver's internals better than me are left), and, possibly, a wrapper library implementing the default ioctl's (like channel switch) used in most programs.
i understand, hopefully we can have new devs. who will continue
This is a perfect news. At least if this device became obsolete, it should still be useful to be a portable linux pen test device, if possible. Anyway, awesome job mate. Very much appreciated
Sent from my Note 3 using XDA Labs
you dont have permission to capture on that device sokect operation not permitted
aldhi said:
This is a perfect news. At least if this device became obsolete, it should still be useful to be a portable linux pen test device, if possible. Anyway, awesome job mate. Very much appreciated
Sent from my Note 3 using XDA Labs
Click to expand...
Click to collapse
Thank you. I forgot to say that monitor mode requiers support from firmware (there's some code in driver that checks for it). Kenzo guys are lucky because we have it enabled . There's also sta+monitor mode (so you can have working wifi connection while sniffing), but it also requiers support from firmware and kenzo's fw compiled without it. I forgot how to enable it, but i think you need to issue "iwpriv wlan0 monitor 1" in default con_mode and check dmesg - there will be a string that says it's not supported (if it is not).
And if someone is interested, our wireless chip is wcn3680b, simmilar one (or same, idk) can be found in nexus 4 (mako)
cerg2010cerg2010 said:
Thank you. I forgot to say that monitor mode requiers support from firmware (there's some code in driver that checks for it). Kenzo guys are lucky because we have it enabled . There's also sta+monitor mode (so you can have working wifi connection while sniffing), but it also requiers support from firmware and kenzo's fw compiled without it. I forgot how to enable it, but i think you need to issue "iwpriv wlan0 monitor 1" in default con_mode and check dmesg - there will be a string that says it's not supported (if it is not).
And if someone is interested, our wireless chip is wcn3680b, simmilar one (or same, idk) can be found in nexus 4 (mako)
Click to expand...
Click to collapse
Can you ziping code and flashable instal on twrp?
Khimin said:
Can you ziping code and flashable instal on twrp?
Click to expand...
Click to collapse
There's nothing to install except iwpriv binary... But OK, I'll try to create a magisk module with enable/disable scripts.
cerg2010cerg2010 said:
There's nothing to install except iwpriv binary... But OK, I'll try to create a magisk module with enable/disable scripts.
Click to expand...
Click to collapse
Thx, im waiting
Khimin said:
Thx, im waiting
Click to expand...
Click to collapse
Ok, I made it quickly!
Source: https://github.com/cerg2010cerg2010/qcmon
There's 2 scripts, run them from shell:
monen - enables monitor mode (you can specify configuration in the parameters, see system/xbin/monen)
mondis - disables monitor mode. You can use your wifi connection again.
cerg2010cerg2010 said:
Ok, I made it quickly!
Source: https://github.com/cerg2010cerg2010/qcmon
There's 2 scripts, run them from shell:
monen - enables monitor mode (you can specify configuration in the parameters, see system/xbin/monen)
mondis - disables monitor mode. You can use your wifi connection again.
Click to expand...
Click to collapse
Thx dude
thank you you are awsome +thumbsup
---------- Post added at 08:49 AM ---------- Previous post was at 08:03 AM ----------
filter expresion syntax error using command tcpdump -i wlan0
help please
---------- Post added at 09:05 AM ---------- Previous post was at 08:49 AM ----------
can you help me?
cerg2010cerg2010 said:
Ok, I made it quickly!
Source: https://github.com/cerg2010cerg2010/qcmon
There's 2 scripts, run them from shell:
monen - enables monitor mode (you can specify configuration in the parameters, see system/xbin/monen)
mondis - disables monitor mode. You can use your wifi connection again.
Click to expand...
Click to collapse
Is it safe to flash with magisk in note 5 pro ?
cerg2010cerg2010 said:
Ok, I made it quickly!
Source: https://github.com/cerg2010cerg2010/qcmon
There's 2 scripts, run them from shell:
monen - enables monitor mode (you can specify configuration in the parameters, see system/xbin/monen)
mondis - disables monitor mode. You can use your wifi connection again.
Click to expand...
Click to collapse
@cerg2010 Tried to flash with magisk in note 5 pro. System apps are not working after disabling the module from magisk it returned to normal. Any solution for this ?
Perinban Parameshwaran said:
@cerg2010 Tried to flash with magisk in note 5 pro. System apps are not working after disabling the module from magisk it returned to normal. Any solution for this ?
Click to expand...
Click to collapse
Please understand that I don't have any "note 5 pro". You can send me logcat and I can try to identify the problem or ask your ROM developer to take a look (if it's not MIUI lol). Anyway, that's just scripts, so you can copy them to /data/local/tmp or /system/bin manually.
Lol I'm a n00b what does this do? Is this a packet sniffer or something?
Op_Flashpoint said:
Lol I'm a n00b what does this do? Is this a packet sniffer or something?
Click to expand...
Click to collapse
Sort of. It makes your sniffer to work - you will be able to capture raw WiFi packets from your device without any dongles.
plis whats rom u use ¿
cerg2010cerg2010 said:
Ok, I made it quickly!
Source: https://github.com/cerg2010cerg2010/qcmon
There's 2 scripts, run them from shell:
monen - enables monitor mode (you can specify configuration in the parameters, see system/xbin/monen)
mondis - disables monitor mode. You can use your wifi connection again.
Click to expand...
Click to collapse
thank you man, monitor mode now working on my poco F1, using its module magisk + aircrack-ng
i Got this Tab , it had very poor GPS. i flashed the firmware OS8.0.1 for F model and the GPS NVR ver.1.1 which was incluse the firmware zip.
with GPS test it see only only 1 Sat and if i play with gps.conf to trick it it show many but no fix lock. the reason i want to play on this Tab IGO Primo or world or any other offline navigation.. which i installed them and they run with out error... but they cant catch more than 1 sat so they will be in search.
any one had firmware 5.0.-1 for this F model or only the file of GPS.QCN for an other lenovo tabs run under 8909 such yoga X50F or A103F .. any of gps.qcn please you have posted over here if its for this Soc. so i test it..
GPS HW Okay. gps.conf don't help..
i am thankful for any idea or file dump from your side
I Solved here the methode to any lenovo Wifi or LTE Tablet with Poor GPS
Okay. folks .. after spending more than 2 hours ifound the issue with Lenovo Tablet not only my. but i am sure many from Lenovo faced Poor GPS and no abilitly to Install any Off line Navigtion Software like I GO or Navigon etc.
after this edid you dont need to use any app of GPS test or GPS lock.. or GPS fix. etc.
the problem are with NV data ( Value setting they inject the tablet... on Chinese way... not as international way..
1- we put the device in Diag Port Mode .
1-you need QXDM Professional .. we use NV Explorer..
3. from NV explorer select Category Filter to ( ALL )
4- from menu Option Communication we select the device and connect it ( it will load all NV item )
5- the table i add in attachment explorer the Item No. and check your value if it different change it. ( you can use Read / write Never press on Reset... :laugh:
6 after you finish edit.. just go back to Communication and choice disconnect , plug it out from pc and reboot it
7- use attached gps.conf which it designed to the setting.. no need to change any NTP or other stuff. its standard one.
i used AndroiTS apk ( First Photo ) just to show you the list of signal and sat recieved after5 second same to iGO_World last version how it lock sat.. with or with out wifi
enjoy GPS you never dream to have on Lenovo Qualcomm Soc
this edit used only for Qualcomm Soc.. it may work MT. but i didn't test it.