Wi-Fi problems - Zuk Z1 Q&A, Help & Troubleshooting

Hi guys,
the trouble began when switching my AP from 2.4 GHz wifi to 5 GHz.
After some time in which everything worked well, it would just suddenly bloody stop working.
It started like this: random disconnect from the wifi, reconnect and then just stopped working (no ssids visible).
Normally I could restart and the problem was gone, but now it is persistent even throughout reboots and I therefore have to use the mobile network (which is really expensive where I live).
I'm using Lineage OS 16, but the problem was also there when I used previous releases iirc which is why I changed the phone for some time.
What I tried:
* flash different firmware versions
* upgrade /system LOS
* restart
* set interface down/up
* delete entry for my SSID and create it again
Right now nothing works.
Maybe someone has knowledge about the internals of the wifi on this SoC.
How is the general design?
E.g. I saw that the kernel loads some files (wcnss.mdt, wcnss.bXX) that are inside the NON-HLOS.bin disk image.
I assume that the trustzone does something with it?
Very weird architecture to get wifi going and debug it.
What are things that I can try?
Does the driver / firmware / android store data that might lead to a different state after reboot and this behavior being persistent?
Who else had this kind of problem?
I also opened an issue at the LineageOS bugtracker where I pasted some excerpts of dmesg / logcat and bit more details https: //gitlab.com/ LineageOS/issues/android/issues/1323 (not allowed to post URLs).
Right now I'm not sure what it is, could be firmware (and therefore not LOS related, which right now I think is more likely) or e.g. kernel or who knows, maybe even hardware?
Thanks!

Related

[ROM][2.3.6] U8860 Modified Port

Disclaimer: I am not responsible for any damage (including, but not limited to, loss of data, non-functional device etc.) which may occur to your device from following the directions (or from any failure to follow the directions) found on this post. Use (and flash) at your own risk.
Credits go to genokolar for actually porting the U8860 2.3.6 firmware to the U8800Pro. This builds upon his port.
You may find his port announcement here, and you can download it from here. Thanks to user Skyline111 for the mirror.
Thanks also go to birdyi, who ported the U8860 2.3.6 firmware to the U8860. His port contained some brilliant things such as CarrierIQ framework removal.
--
This is a 2.3.6 ROM for the U8800Pro based on the U8860 B866 ROM. 2.3.6, naturally, brings a slightly newer version of Gingerbread compared to our 2.3.5 with B540. While I know it's all about CM9 (ICS), MIUI and so on these days, I'm a fan of stock (in the Huawei sense of the term) Gingerbread.
Features (or limitations depending on what you think of some of the following entries) of this ROM:
Rooted (adb also runs as root, too)
(Huawei) DLNA
(Huawei) A task manager that shows open applications with pictures (launching it when pressing Home has disabled in this modification because I found the Recent menu saves more time)
(Huawei) Security Guard, a way of hiding text messages, I think
(Huawei) Traffic Manager – a data counter
(Huawei) Wi-Fi WPS support
(Genokolar) FPS unlocked by default (configurable in enhanced.conf)
(Genokolar) ZRAM (Compcache) enabled
(Genokolar) Changed the autorun.iso path to the image partition so that formatting /data from CWM does not leave you with an empty CD-ROM drive when you plug the phone into a computer
bugreports service turned off entirely so that pressing the volume up button quickly after you've pressed volume down does not leave you with a few seconds' delay and a bugreports folder on your memory card
BusyBox from CM7
Android’s toolbox (poor coreutils replacement; more barebones than BusyBox) has its full set of links installed in /system/bin, so you use Android’s native chmod etc. tools. Why? To match the stock B512 firmware and to ensure developers testing on the U8800Pro correctly hardcode “busybox” in their root programs if needed
Optional lazy CPUfreq governor
Default language and region changed from Chinese – China to English – United Kingdom
Added in boombuler’s AppWidgetPicker
CM7’s Pacman added in to remind you to install Google Apps after adding an account with the Setup Wizard (make sure GApps is installed!)
VoiceDialler.apk added in from B512 firmware (although, to be honest, the microphone quality on my phone is awful…)
Bash shell, fix_permissions script, iwmulticall, MMS.apk, tcpdump and gdbserver and additional ringtones etc. from CyanogenMod (20120107-cm-7.1.0-u8800pro-Geno-en.zip) added in
Phone model changed to Desire HD, so Gameloft games can be bought. This may cause licensing problems with bought Market applications so be careful. (Although, I must admit that giving money to a company that doesn't support our phone seems counter-intuitive.)
Shutdown vibration reduced from 500ms to 100ms because I hate it (especially at night) but understand its usefulness in determining the answer to the question “Has the phone gone off yet?”
Huawei’s god-awful Low Battery notification replaced with a nicer one from CyanogenMod
Widgets actually restore themselves after a reboot! This was fixed by me replacing 2.3.6's PackageManager service with Huawei's 2.3.5 one.
MyCalendar widget from birdyi's port and MyEmail from B512 added in
Fixed proximity sensor dying if the light sensor was on, too.
Stripped down enhanced.conf - only swappiness, VSync and ZRAM settings available. I don't like /system/log.txt being created every time my phone boots and I think using a tool in Android like, say, No-frills CPU Control is the better place to set the frequency. SetXperia has support for setting the phone's CPU voltage.
More languages selectable from the Setup Wizard than just English (US) and Chinese.
Flash Player removed for copyright reasons. You can install it from the Market
Notepad and Richpad removed
Droid Sans Fallback supports more character ranges
Toolbox correctly has "Wi-Fi" instead of "WLAN"
Misc. kernel modules, like in B512, included
But I like the BusyBox tools and want to use them without having to prefix BusyBox everytime!
Just run the bash shell; BusyBox versions of cat, chmod, chown, df, insmod, ln, lsmod, mkdir, mount, mv, rm, rmdir, rmmod, umount, sleep, kill, and ifconfig will become the default while you’re using the bash shell (also nicer, BTW: you get tab-completion, for one) thanks to the CyanogenMod team.
Attempts to remove Carrier IQ. Huawei *do* include Carrier IQ in their firmware.
I’ve done the following to attempt to remove it the best I can:
Edited boot.img to not start Carrier IQ services
Removed Carrier IQ libraries from /system/lib and CiQ binaries from /system/bin
Added lines to build.prop to disable CarrierIQ, taken from the framework.jar file itself.
birdyi has also modified framework.jar to stop the CarrierIQ objects from being instantiated.
Ideally the best way to be Huawei-free is to use CyanogenMod.
I've removed the Cloud+ apps because of this. I've left some Huawei apps in, but I strongly recommend you install PDroid (the patcher works fine with this ROM) and block the more concerning permissions of Huawei system apps.
Kernel changes
Since the kernel genokolar provided with his port had a problem when a program used the light and proximity sensor at the same time – the proximity sensor would die out until the next restart – I took it upon myself to rebuild the kernel available from his github repository with the config from his latest kernel. After comparing his kernel to the source Huawei put out, I could see no code changes that would cause the proximity sensor to die out. Since I was rebuilding the kernel, I thought I’d make a few changes:
Add in the Lazy CPU governor by Ezekeel
Update a patch by stockwell to disable keypad lights (echo 1 > /sys/module/leds_msm_pmic/parameters/disable_button_leds) - use ButtonLock to control
Reverse genokolar’s decision to always allow NV logging – this can be turned on and off from the service menu on a stock ROM anyway…
Set minimum backlight level to 15, from Franco’s kernel. Warning: I haven’t tried setting it to 15 so I don’t know if that value renders the display practically useless, and I don’t know if Android lets you set it to 15 from its settings!
ButtonLock
Not as revolutionary as I'd like it to be, but useful nevertheless. I've written a quick widget, which looks like the Power Saving one, that turns off the button backlight. Useful for when you're reading books through FBReader.
You need to be using my kernel as it has the disable_button_leds patch. The advantage the disable_button_leds patch has over the chmod 444 method is that it doesn't introduce noticable lag. The widget's source is in the same folder.
When pressing the widget's button for the first time, there is a delay as the Superuser allow/deny dialog box takes its time to come up. After accepting, future launches are instantaneous.
If you need something that this ROM doesn’t provide compared to other stock ROMs, I recommend:
Not using it; or
Using a combination of diff, abootimg, Winmerge (or Beyond Compare) and apktool to compare this with genokolar’s original release, and with birdyi's ROM, and add what you want back in
Installation
Note: You must be running firmware version B522 on your device! If you have B540, you need to downgrade. If you have a firmware version lower than B522 (Froyo?), you must upgrade to B522 first. If you're already running a custom ROM, ignore this.
Take out the SIM card if you want the setup wizard to use Wi-Fi during setup.
Install genokolar’s recovery: http://forum.xda-developers.com/showthread.php?t=1343276
Place u8800pro-2.3.6-geno-v1-modified.zip on the internal memory card or an external one (I recommend the internal one to ensure you don’t run into U8800Pro CWM bugs with the external).
Get gapps for Gingerbread and place on your memory card. Find the link using every Android user’s favourite search engine.
I highly recommend using PDroid, but it’s up to you whether you want to use it. If you would like to use it, get the patcher from http://forum.xda-developers.com/showthread.php?t=1357056 and point it to u8800pro-2.3.6-geno-v1-modified.zip. Place the PDroid-v1.27-u8800pro-2.3.6-geno-v1-modified.zip file onto your memory card.
Boot into recovery (make sure that fast boot is turned off in Settings->Applications and hold power and volume up while turning the phone on)
Do a data/factory reset.
Install the ZIPs, starting with u8800pro-2.3.6-geno-v1-modified.zip (obviously).
Reboot!
Install the Google apps (those ones not included in CM's gapps ZIP like YouTube) if desired when prompted – but note that the Market will probably close as you’re doing this as it will automatically update itself.
Downloads
ROM: http://www.mediafire.com/?k0g17z1kraw7b67
SHA512: 4988B123488B8B24732401420DE849E8D8E5632C075A4520F176AA1D64DA0ECF946FF4D4E6CEC4D257EE4C4C999200A93C2CB309FD7B5FE50234A1C5700DEB2D
Modified kernel source (I suck at Git - I really need to read that VCS by Example book I have ): http://www.mediafire.com/download.php?a0022t73q2v7r7d
ButtonLock source (Apache licensed, though I must admit I'm more of a GPL person...): attached.
--
Extras:
genokolar's 5.0.27 recovery for the U8800Pro with the charging animations from https://github.com/Victor-android/android_device_huawei_u8800pro/tree/master/recovery/res/images:
attached.
Anyone tried it?
ill try it this evening I hope it fixes missed calls....
I have B512 official gingerbread, am I good to go?
Too times was a situation, when phone lost connection with wi-fi spot, he see the network, but can't connect. Help reboot.. else working so far without problems, testing..
...
turned off the wi-fi and got the main bug - does not work 3g/2g data transfer, hmm....
bobsido said:
with wi-fi spot, he see the network, but can't connect. Help reboot.. else working so far without problems, testing..
Click to expand...
Click to collapse
Interesting. I've had no problems reconnecting to a network that uses WPA2-PSK and another that uses 802.11x authentication.
turned off the wi-fi and got the main bug - does not work 3g/2g data transfer, hmm....
Click to expand...
Click to collapse
Are your APNs set correctly? In my case 2G works and I've had HSDPA working because when testing the Weather Clock widget (from B522, when I had it in) it would connect using it - I could see the icon in the status bar - and I had the pleasure of having my balance run down each time - I'm not a rich man
Edit: In build.prop, you can try playing with ro.config.hw_fast_dormancy=3 - genokolar had it set to 2, but I changed it back to 3 from the U8800Pro original ROM because I wouldn't be able to connect to my network otherwise.
Hopefully, it's not the case but it could be hardware differences. genokolar, who's work this is based on, being from China, probably has a Unicom U8800Pro, just like I do...
@Zaic
B512? This is for the U8800Pro. I'd advise you not to flash it. I'd recommend using birdyi's ROM. If you're after a certain improvement from this ROM, tell me and I'll try and isolate it for you (as long as it doesn't involve kernel stuff - I don't know how to build U8800 kernels) so that you can use with birdyi's ROM
I have u8800 pro - 100%
My ROM is original unrooted 2.3.5 B512 its one before the latest release which is B540
My ROM still has access to pink screen, otherwise its the same as B540 I guess
SO what should I do first to install this ROM? roll back to 2.2.2 or was it 2.2.3?
Ah, if you're running 2.3.5 already and in the pink screen mode you see a folder called image when connecting your phone to the computer you're ready to go
Hi!
My compliments for the porting of Android 2.3.6 to U8800Pro!
I am using your rom since yesterday and still now I am not having any kind of problems.
Anyway I notice the same bug of the B512 and B540 roms: put your smartphone on screenoff, then wait about 1 minute and fastly unlock the screen and try to pinch to zoom on the home. Sometimes the multitouch doesn't work on every position of your fingers, it only works correctly if your fingers are in the position of principal axes.
Please try to reproduce this bug.
I am using LauncherPro but this bug is indipendent by the launcher (for example I tried also Zeam Launcher, Go Launcher EX, etc etc).
I hope you can solve this bug, maybe kernel-related.
Regards,
kalo86
Hi,
kalo86 said:
My compliments for the porting of Android 2.3.6 to U8800Pro!
Click to expand...
Click to collapse
The honor is genokolar's
I am using your rom since yesterday and still now I am not having any kind of problems.
Click to expand...
Click to collapse
Thanks; it's nice to know that it's working OK on somebody else's device other than mine.
Anyway I notice the same bug of the B512 and B540 roms: put your smartphone on screenoff, then wait about 1 minute and fastly unlock the screen and try to pinch to zoom on the home. Sometimes the multitouch doesn't work on every position of your fingers, it only works correctly if your fingers are in the position of principal axes.
Click to expand...
Click to collapse
Sorry for asking, but how do you pinch to zoom on the home screen? I'm using Go Launcher Ex and I know that that has the swipe up gesture but I can activate that with one finger, anyway.
In any case, have you applied the Synaptics touchscreen update? For me it has increased the touchscreen performance greatly. I had one problem that when after unlocking, the touchscreen wouldn't respond unless I turned the screen off and tried again. The update solved that.
If you want to try it, open the service menu (*#*#2846579#*#*), go to ProjectMenu->Upgrade->Touch screen version query and see if it says "synaptics". If so, put the original Huawei recovery.img back on and put the synaptics.img file in a folder called update on your SD card. Use the recovery's "touchscreen firmware update" update option and it will automatically reboot when it's done.
Best regards,
qwerty12
Oh, really thank you for this "news" about the synaptics touchscreen update!
I have a synaptics too, then I am going to update the firmware.
Another bug, still present in B512, B540, Cyanogen and U8860 port: unplug your battery from the smartphone, insert it again, power on, then open your file manager and try to read the sdcard content. At 99% my sdcard is not read, then I have to reboot my U8800Pro and magically the sdcard is read.
Thanks to You and Genokolar for our development!
Regards,
kalo86
UPDATE: I updated the synaptics touchpanel but I have always the bug of multitouch. It is reproducible when you unlock the screen after a pause of 1 minute (about), then you open the stock browser and try to zoom with the multitouch. It works only if your fingers are on the principal axes and not in other positions. I have this bug on 4 different U8800 Pro! It cannot be a singular problem.
So, I have tried a lot of roms, based on B512, B540, U8860, CyanogenMod 7.1, I am sure I will try this bug on the next release because it's mabe a kernel bug due to the multitouch field.
Video demonstration
This is a video which I just uploaded on YouTube with the real multitouch bug.
This bug is in 4 different U8800 Pro.
http://www.youtube.com/watch?v=avSdW2V8TLg
kalo86 said:
Another bug, still present in B512, B540, Cyanogen and U8860 port: unplug your battery from the smartphone, insert it again, power on, then open your file manager and try to read the sdcard content. At 99% my sdcard is not read, then I have to reboot my U8800Pro and magically the sdcard is read.
Click to expand...
Click to collapse
I really can't reproduce this. I pulled out the battery while it was on, put it back in and started File manager (the one included with Huawei ROMs) and the internal SD card along with my external one were seen fine.
UPDATE: I updated the synaptics touchpanel but I have always the bug of multitouch. It is reproducible when you unlock the screen after a pause of 1 minute (about), then you open the stock browser and try to zoom with the multitouch. It works only if your fingers are on the principal axes and not in other positions. I have this bug on 4 different U8800 Pro! It cannot be a singular problem.
So, I have tried a lot of roms, based on B512, B540, U8860, CyanogenMod 7.1, I am sure I will try this bug on the next release because it's mabe a kernel bug due to the multitouch field.
Click to expand...
Click to collapse
Thanks for the video! Unfortunately I don't know how this can be fixed - I'm not a developer! It was only yesterday I tried looking in the driver to see how I can enable more than two finger recognition but I'm not seeing it...
Best regards,
qwerty12
Sorry for disturbing you, but I have a question: do you have the same bug of the multitouch after the lock-screen?
This is a second video about the same problem:
http://youtu.be/64NvbFJD3rs
qwerty12 said:
I really can't reproduce this. I pulled out the battery while it was on, put it back in and started File manager (the one included with Huawei ROMs) and the internal SD card along with my external one were seen fine.
Click to expand...
Click to collapse
The same here with sd,full power off device, power on then sd card is not mounted and cpu load is almost 100%. after restart or reinserting sd, problem just dissapear. on every rom i tried. i flashed official V100R001C00B512G001Gb (2.3.5) and then tried CM7; u8800+v100r001c00b540g001gb-rooted_geno-v4.
Is FM Radio working in this ROM?
Yes, Radio is working fine
qwerty12 said:
Are your APNs set correctly?
Click to expand...
Click to collapse
i fix APN settings and 3g/2g start work, thanks.. after reflashing wi-fi start work without problem. but after first reflash don`t work home button. they have response, but nothing happen. i secondary reflash phone, without wipe data/cash and home button start to work correct.. now tests are continuing
kalo86 said:
Sorry for disturbing you, but I have a question: do you have the same bug of the multitouch after the lock-screen?
This is a second video about the same problem:
http://youtu.be/64NvbFJD3rs
Click to expand...
Click to collapse
A little bit - after unlocking, I can do the multitouch gesture and phone will respond like it's supposed to but I have seen twice that it has not responded to me; I have to do it twice more...
Barracuda72 said:
Is FM Radio working in this ROM?
Click to expand...
Click to collapse
Like kalo86 said, it is indeed
bobsido said:
i fix APN settings and 3g/2g start work, thanks.. after reflashing wi-fi start work without problem. but after first reflash don`t work home button. they have response, but nothing happen. i secondary reflash phone, without wipe data/cash and home button start to work correct.. now tests are continuing
Click to expand...
Click to collapse
Please do let me know if you come across more problems
Zaic said:
Anyone tried it?
ill try it this evening I hope it fixes missed calls....
I have B512 official gingerbread, am I good to go?
Click to expand...
Click to collapse
So, any missed calls?
If someone wants to help the Community to understand the sdcard mount bug, please have a look here: http://forum.xda-developers.com/showthread.php?t=1483519
This is a poll, please vote!
Best regards,
kalo86
Zyzas said:
So, any missed calls?
Click to expand...
Click to collapse
Haven't had time to install this ROM yet.... but ill report as soon as I know

[ROM] Sero 7 Pro - AOSP 6.0.1 - DoPa6 v1-bld3

DoPa6 v1 build 3 is the Marshmallow ROM for Sero 7 Pro owners worldwide.
This build, based on AOSP 6.0.1 r43, focuses on features that must be built in and can't be added on such as selective overclocking and multiple formatting options for your SDcards.
For those who want to customize the ROM's look and feel, Xposed and Gravity Box come pre-installed to provide all the tweaks you want - and none of the ones you don't.
DoPa6 also offers a companion build of TWRP v3.0.2 (DoPa6 v2). Based on Marshmallow code, this new version offers an updated look and feel plus a few Sero 7-specific tweaks.
Installation
backup your data so you can easily return to your current ROM
- initial installation: wipe your '/data' partition (a "Factory reset" in TWRP will work)
- upgrade from previous DoPa6: no need to wipe or format anything
install sero7pro-aosp601-dopa6-v1-bld3.zip
install your choice of Gapps packages
(optional)install the Nexus 7 spoof
reboot
Note: after using this ROM, TWRP 2.8.7 will report that it can't mount '/thirdparty'. This is to be expected since that partition is now used for swap space. You can safely ignore this warning. (TWRP 3.0.2 does not have this problem.)
Important: please do not report any bugs you encounter the first time you boot-up after installation. Instead, please reboot then see if the problem persists. If so, let me know so I can (try to) fix it.
Downgrade
If you decide to return to a previous version of a DoPa ROM (i.e. Kitkat or Lollipop) after using DoPa6, you must reformat the '/thirdparty' partition as ext4. This will restore compatibility with the older version - without it, previous versions won't boot. You can do so directly using TWRP 3.0.2 or by installing sero7pro-format-thirdparty.zip (links below).
Notes
Memory Features - users can enable/disable key memory features to suit their needs. Open Settings->Performance->Configure RAM options and change these items as appropriate:
Dynamic fsync - cache writes to flash memory until the screen goes off [excessive memory use]
Kernel same-page merge - scan for and merge blocks of kernel memory that have the same content [overhead]
Disk-based swap file - use the '/thirdparty' partition to add 256mb of virtual memory [possible i/o contention]
Low-ram mode - employ the memory-saving tactics normally used on a device with only 512mb of memory [reduced graphics capabilities]
Low-ram graphics - reenables accelerated drawing that low-ram mode disables [significant increase in RAM usage]
Note: all of the system properties used by previous versions to set these features are now obsolete and have been removed from 'build.prop'; do not restore them.
ADB Over WiFi - to access ADB with having to install any drivers, open Settings->Performance and check "Enable ADB access via WiFi". At a command prompt/terminal, run "adb connect <your.tablet's.ip.address>". You should now be able to run any adb command. Note that this setting is not saved: ADB Over WiFi will be disabled when you reboot.
External Storage - this ROM now supports two types of external storage:
portable - your sdcard is used for storing non-secure data (music, photos, etc.). It remains compatible with any device that supports the filesystem you've chosen.
adoptable - the sdcard becomes your "internal sdcard": besides storing app data and media, you can also move entire apps to the card. Because the card is encrypted, it is incompatible with any other device.
The first time you insert a card, there is an option in the Notifications pull-down to set up the card. Alternately, you can open Settings->Storage and USB, select the card, then tap the menu button for setup options. If you choose Format as internal, the card will be formatted F2FS and encrypted; you'll then be given the opportunity to move your data to it. Choosing the Format option displays a screen that lets you choose the filesystem to be used (fat32, exfat, ntfs, f2fs, or ext4). Be aware that both options repartition the card and destroy all existing data on it.
Multi-Window - To enable it, open Settings->Developer Options, then scroll down to the "Drawing" section. Multi-window mode is the last item in that category.
Known Bugs
Encryption - attempts to encrypt the '/data' partition will fail but no data is lost because the process never really gets started; the problem appears to lie in the kernel and may take a while to resolve
Large SDcards - Class 10 32gb and 64gb sdcards may not be recognized or may be reported to be corrupt; this issue was also reported for Lollipop
Bluetooth - Bluetooth Low Energy profiles are not supported
Downloads
sero7pro-aosp601-dopa6-v1-bld3.zip - the ROM
sero7pro-gapps-dopa6-v1-bld3.zip - a "nano" Gapps package compatible with this build
sero7pro-nexus7spoof-dopa6-v1-bld3.zip - have the ROM report that this is a Nexus7 - only for use with DoPa6 v1 bld 2
sero7pro-twrp302-dopa6-v2.zip - a customized version of TWRP Recovery v3.0.2
sero7pro-format-thirdparty.zip - use this if you plan to downgrade from DoPa6 to a previous version (no longer needed if using TWRP 3.0.2)
GPL Notice: the source code for this kernel is available at https://github.com/dolorespark/android_kernel_hisense_m470bsa on the 'master' branch.
Changelog
v0 bld 8
* new: easy access to ADB over WiFi
* new: user control over key memory features such as swapping
* changed: restored ArchiDroid build optimizations used in DoPa5
* changed: reverted to original kernel due to Bluetooth and WiFi Display issues
v0 bld 7
* new: upgraded kernel to use networking code from Linux 3.4
v0 bld 6
* new: converted the unused '/thirdparty' partition into a dedicated 256mb swap partition
* new: Xposed and Gravity Box are now pre-installed
* enhanced: choose any filesystem when reformatting an SDcard from "adoptable" to "portable" storage
* bugfix: the flashlight/torch quick-settings tile would only work once per session
v0 bld 5
* new: format an external SDcard using any of the 5 supported filesystems from within the Settings app
* bugfix: screen rotation failed to work if the tablet wasn't charging
v0 bld 4
* new: extended SDcard/USB storage support to include ntfs, ext4, and f2fs
v0 bld 3
* bugfix: a regression prevented using an SDcard as "adoptable" storage
* bugfix: an empty MTP device appeared on a PC even when the tablet was set to "charge-only"
v0 bld 2
* new: all Bluetooth features work except BT-Low Energy
v0 bld 1
* new: major updates to the kernel to support mount namespaces - external storage now works
v0 bld 0
* initial release: most hardware features work except external storage and Bluetooth
That was fast.
Sent from my K013 using Tapatalk
I'm seeing s'mores in my future... or maybe fluffernutter? Thanks for the continued work!
Wow! That WAS fast! ?
Sent from my Nexus 7 using XDA Free mobile app
Superb! Keep up the excellent work!
Nice. I am behind on stuff due to being sick the past few weeks so I'll install this build and see what I notice within the next day or two. I do wonder perhaps since the Nexus 7 (Grouper) has semi official MM that stuff like Bluetooth, DRM, etc can be fixed from that source?
AngryManMLS said:
perhaps since the Nexus 7 (Grouper) has semi official MM that stuff like Bluetooth, DRM, etc can be fixed from that source?
Click to expand...
Click to collapse
Not necessarily. We're working from the same source code but in most cases the hardware is different. For BT, the hardware is the same (BCM4330) but the firmware is different. I tried using the N7's firmware and that eliminated the crashes - but it wouldn't connect to anything, so that wasn't much help. As to DRM, I haven't read of any problems but that could just mean that no one has tried. At some point I'll try swapping in some of their proprietary files (as I've done in the past) and see if that fixes anything.
Speaking of fixes... I made some massive changes to the kernel and now have external storage working (this took at least 60 hours to achieve). Once I have exFat support in place, I'll release an update.
dolorespark said:
Not necessarily. We're working from the same source code but in most cases the hardware is different. For BT, the hardware is the same (BCM4330) but the firmware is different. I tried using the N7's firmware and that eliminated the crashes - but it wouldn't connect to anything, so that wasn't much help.
Click to expand...
Click to collapse
I'll get some logs once the next version is out and see maybe if those error messages when connecting BT devices might help out.
amazing
Thank You DoloresPark!
it runs amazing for the first release. I flashed the new twrp, gapps, and the ROM from my USB memory stick without any issues. No problems downloading, uploading, notifications, it's great.
see my photos here:
http://sero7forum.com/sero-7-root-h...ro-aosp-6-0-0-dopa6-v0/msg8392/?topicseen#new
I can't get the update to flash. I get to the lockscreen, swipe to open, and all I can get is a black screen and the error message " unfortunately setup wizard has stopped". I've reflashed a couple times.
Ok. I got it flash. It took 17 min. to boot up. I could of fried an egg on the back of my tablet. But it's fine now! :laugh: runs great.
Thanks! Looks great!
So, do we know if xposed and gravity box works on this build yet?
Edit: Never mind. I don't suppose there will be a Gravity Box for Marshmallow for a while.
Sent from my Nexus 7 using XDA Free mobile app
v0 build2 released
Now that everything works (sorta), DoPa6 - Marshmallow for the Sero 7 Pro - has entered its beta-testing phase. It would be really helpful if you could try it out and tell me what glitches you encounter.
For example, I know that Launcher FCs when you rotate the tablet, and that the "Memory" figures displayed in the Settings app are all wrong, but what else? Does the thing spontaneously reboot? Is WiFi unreliable? Do apps lag? Et cetera, et cetera...
Truth is, I spend so much time screwing with the thing that I don't get to use it as much as you do. If it doesn't generate an error message in a logcat, I might never know something's wrong.
Auto-rotate issue
dolorespark - Thanks for the great rom. I'm really impressed with what this older hardware can do.
The only issue I'm seeing right now is that my auto-rotate only works occasionally. I originally noticed this problem with build 1 and I'm using build 2 and the problem is still there. If I switch from portrait to landscape the display will not turn. If I turn off the tablet while it's in portrait and power it back on in landscape it will display in landscape. When I originally noticed this I thought that the sensor might have stopped working but I used a hardware info app and I can see the changes as I rotate the tablet. I don't know if any logs would help with this but I'm willing to try if you need them.
Hi,
Over the week-end I had a brief try with your marshmallow ROM, it apparently installed OK, and appeared to be running fine once it settled down after a couple of
reboots.
There was an oddball thing happened though which may not be relative to your build (could be other causes) ... Marshmallow took a dislike to my 64GB SD card I got a
message saying the card had not been prepared, and did I want to do this ? (or words to that effect), I OK'd the preparation and it did it's stuff, next I had a
pop-up saying the card couldn't mount as it was corrupted (it had been OK when running in lollipop). At first it appeared as if the card was a write off, but I eventually got it
restored after running Chkdsk /R on the windows PC, strange thing is now it wont mount in the Sero 7, but mounts OK in 2 separate allwinner tablets we have in family,
2 separate identical SD cards do mount no problems in the Sero 7. (now back on Lollipop).
I think you said initially that there was problems with storage, could my issue be down to that ?.
I liked what I saw of marshmallow (great on this older hardware), but admit I didn't spend much more time on assessment of it, I was diverted into recovering the SD
card, and as I've said restored my Lollipop backup. ... J.
yanu said:
The only issue I'm seeing right now is that my auto-rotate only works occasionally. [...] I thought that the sensor might have stopped working but I used a hardware info app and I can see the changes as I rotate the tablet.
Click to expand...
Click to collapse
Everyone with a Nexus 7 has been reporting this problem. I've only seen it once when I killed the Launcher while in Settings->Apps but I haven't been able to reproduce it. As mentioned in the OP, I get FC's in Launcher when I rotate. However, I've found an odd "cure"...
I wanted to see if the FC problem was specific to Launcher3 or more generic, so I installed Apex. After switching to it, I was able to rotate without problem, so I went back to stock and discovered that the problem had disappeared. Even after I uninstalled Apex and cleared Launcher3's data so I was back to the default home screen, I didn't get any FCs
jachol said:
There was an oddball thing happened though which may not be relative to your build (could be other causes) ... Marshmallow took a dislike to my 64GB SD card
Click to expand...
Click to collapse
I don't think this is new. Several people mentioned intermittent problems with 64GB sdcards on Lollipop (Samsung in particular, IIRC). This is one thing I can't test because I don't have (or need) anything bigger than 16GB. Sorry...
dolorespark said:
Everyone with a Nexus 7 has been reporting this problem. I've only seen it once when I killed the Launcher while in Settings->Apps but I haven't been able to reproduce it. As mentioned in the OP, I get FC's in Launcher when I rotate. However, I've found an odd "cure"...
I wanted to see if the FC problem was specific to Launcher3 or more generic, so I installed Apex. After switching to it, I was able to rotate without problem, so I went back to stock and discovered that the problem had disappeared. Even after I uninstalled Apex and cleared Launcher3's data so I was back to the default home screen, I didn't get any FCs
Click to expand...
Click to collapse
I loaded Apex and auto-rotate still doesn't work. I installed 'Rotation Control' which allows me to easily rotate the display so I can live with it for now. I haven't seen any FC's in the Launcher or anything else at this point.
dolorespark said:
E
I don't think this is new. Several people mentioned intermittent problems with 64GB sdcards on Lollipop (Samsung in particular, IIRC). This is one thing I can't test because I don't have (or need) anything bigger than 16GB. Sorry...
Click to expand...
Click to collapse
Thanks ,,, no problem point taken, and thinking back I agree. SD card soon fills up when you store video files as I do that's the main reason for the 64GB card.
I'm more curious re. why this card will no longer mount in the Sero 7 when identical cards do, ideas anyone ?. ... J.
dolorespark said:
External Storage - this ROM now supports two types of external storage:
* conventional - your sdcard is used for storing data - currently only Fat32 and exFat are supported
* adoptable - the sdcard becomes an extension of internal storage and can store apps and data. The first time you insert a card, there is an option in the Notifications pull-down to set this up. Alternately, you can open Settings->Storage and USB, select the card, then tap the menu button for setup options. Note that the card gets formatted and encrypted, and can't be used with any other device until reformatted.
Click to expand...
Click to collapse
I never got the prompt nor do I have the setup option for the adoptable, all that is in the menu/settings is Eject and Format, am I missing something?
Garrett

[ROM][XT16xx][7.1.0][UNOFFICIAL] CyanogenMod 14.1 [MotoG4 / G4 Plus] beta

I am posting this here because apparently I cannot post to a "dev" forum , since I am just registered.
Pity.
Anyway, just to report that I successfully installed CM14.1 on my phone, and video recording WORKS , even though I still have my original M baseband...
The fingerprint recorder says that extra tps beyond the first one are not recorded, but actually they are and they work.
To summarize, I started from a stock X1641 phone bought in Canada via Amazon a few weeks ago, rooted (but that is not important) and with twrp 3.0.2r4.
I flushed data partitions as per instructions, flashed the cm14.1 image from Nov. 20th, then the opengapps, rebooted, and everything works. I used "ADB sideload" to flash the 2 images.
So far, everything works for me, including "Linux Deploy" but I had to re-build my linux images from scratch. Something in CM 14.1 prevented from loading them. No big deal.
I summary: No need to contaminate your modem with unknown firmware in order to enjoy CM 14.1. Just flash it (Nov 20th or later) and things just work.
Heating issues
Hi ...
Again, writing in this thread because this bulletin board thinks I should not write in the dev forume...
Message to Silesh Nair: Your 20/11 ROM seems to have the 'ksm' kernel feature enabled. That in itself is not really a problem (however it is quite useless in phones) BUT the default value for sleep_millisecs seems to be set at 20 ms (the default). This might explain the heating issues some people have.
You might want to disable ksm entirely in your kernel. Or at least make sure /sys/kernel/mm/ksm/sleep_millisecs is at some much higher value than 20.
yodalf said:
Hi ...
Again, writing in this thread because this bulletin board thinks I should not write in the dev forume...
Message to Silesh Nair: Your 20/11 ROM seems to have the 'ksm' kernel feature enabled. That in itself is not really a problem (however it is quite useless in phones) BUT the default value for sleep_millisecs seems to be set at 20 ms (the default). This might explain the heating issues some people have.
You might want to disable ksm entirely in your kernel. Or at least make sure /sys/kernel/mm/ksm/sleep_millisecs is at some much higher value than 20.
Click to expand...
Click to collapse
You can install kernel Adiutor and disable ksm or change the sleep value on your own. That's easy going

android Nougat (7.0,7.1) Wifi-HotSpot | wifi-tethering issues

This is stackexchange issue I raised on this issue :
<a href="http://android.stackexchange.com/questions/171241/wifi-hotspot-timeout-setting-gone-in-nougat-7-0-7-1-but-timeout-has-not">
Wifi HotSpot timeout setting gone in Nougat 7.0 , 7.1, but timeout has not</a>; .
(answered only by myself).
I have observed, on receipt of my new AGM A8 QualComm 410 MSM8916 Android 7.0 phone , that the Wifi-HotSpot keeps timing out
after 2-5 mins . I am trying to connect my Linux 4.10 x86_64 host, using its iwlwifi driver, and wpa_supplicant + ISC dhclient, and it
does connect fine, for 2-3 minutes, but then the android phone (default DHCP router) stops responding to ping requests, and the
link is dead , until I bring the device down on the linux host & kill & respawn wpa_supplicant & dhclient . The script I use to do this
is attached. One weird thing is that even though the Android device stops responding to pings, it may still be passing pings through
to the WAN internet , so my script has to trying pinging an actual internet address like www.kernel.org (one of the few public IP
addresses left that respond to ICMP).
This is really nasty of Android Nougat, especially as the previous Android version I used on my old phone (4.2.2)
had a Wifi-HotSpot Timeout Options Settings dialog , which let you specify inactivity timeouts .
So I had to develop this complicated workaround where my 'network' init.d script does
PID_FILE=/run/wlan_ping_monitor.pid daemon /etc/init.d/wlan_ping_monitor.sh
which keeps the link alive.
I really need to root this phone, so I can install my own /etc/hosts file / ISC BIND9, fix this issue in /etc/default.hostapd.conf settings,
and maybe try to fix hostapd , & be able to view logs .
Any advice on how to create a custom recovery for this phone ? latest TWRP & CyanogenModROMs do not support it.
It looks similar to the WileyFox Swift , for which there is a lineageos 14.1 build . Should I try this ?
I am focusing on trying to build android & android_bootable_recovery and android_rooting_tools gitweb gits, & then build AOSP
& TWRP & a recovery ROM - any advice gratefully received.
This is linux kernel bug : https://bugzilla.kernel.org/show_bug.cgi?id=194931
and stackexchange issue: http://android.stackexchange.com/qu...ng-gone-in-nougat-7-0-7-1-but-timeout-has-not
The kernel could be responding better to the empty data frame sent by Nougat hostapd on ap_max_inactivity=300 timeout.
Also wpa_supplicant should be detecting the link has gone dead & re-initializing .

Sailfish OS for the Samsung Galaxy S2 (i9100)

Initial post for Sailfish Os for the Samsung Galaxy S2 (i9100) device.
Code:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! W A R N I N G !!
!! !!
!!(Although I am using this on my backup phone)!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Everything you do, !!
!! you do at your own peril and risk. !!
!! !!
!! I do not bear any responsibility !!
!! for your faulty devices. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! !!
!! ROM IS NOT SUITABLE FOR DAILY DRIVE !!
!! ONLY FOR EXPERIMENTAL PURPOSES !!
!! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Making this port was challenging because Sailfish OS, from version 3, doesn't support kernel version 3.0 which is apparently the kernel on the S2.
Fortunately, the SailfishOS-porter guys do very seriously know their business and they are extremely helpful.
From here I would like to emphasize my gratitude towards them for helping me in this project! Thank you!
Requirements:
Before you start to download anything, please read it carefully.
The first requirement is your device must be rooted and you should be able to install a custom recovery (preferably TWRP) onto it.
For this ROM you can either use the stock partitions or you can re-partition to give more space to /system and /data. It doesn't matter which one you chose, I tried and both worked well.
Or if you scroll down to the New partition layout, you can use a completely unique partition layout which gives the most of the internal storage to Sailfish OS. (I currently use my device with this setup.)
Installation instructions:
1. Download all files, CM12.1 zip, Sailfish OS zip, twrp2.8.7.img and kernel*.img to the external SD card on the phone
2. Reboot into TWRP (hold buttons: Power on + Home + Volume up)
3. Do a factory reset
At this point if you want you can repartition the S2 internal storage. (Later you can put the stock layout back if you want to go back to Android.)​
The steps for repartitioning are:​
​
Download the 'Repartition: System=1GB, Data=14GB, eMMC=8MB, /preload=7MB' or the 'Repartition: System=1GB, Data=4GB, eMMC=7GB, /preload=0.5GB' .zip file and put into the external SD card. (The difference between these two is explained down at the New partition layout section
Then boot into TWRP and flash the zip as any other zip file. The script first will warn you that it cannot do the partitioning with mounted partitions and it also copies the script itself into /tmp. You just simply need to flash the copied version from /tmp and that will do the trick. The script will format the new partitions accordingly, so once it is completed you can go ahead with the next step.
4. Still in recovery, flash the CM12.1 image
5. Still in recovery, flash Sailfish Os image
6. Still in recovery, flash twrp2.8.7.img to recovery partition
7. Still in recovery, flash kernel*.img to boot partition (this step is not required since sfos 4.4, kernel is installed by flashing the zip file)
8. Reboot
9. Enjoy the latest (4.4.0.68) Sailfish OS on your i9100.
You will need patience as the first boot will take for a while. Then you can go through the initial Sailfish OS set up.
This Sailfish OS Android HAL based on CM 12.1.
Downloads:
kernel12_mtp.img for Sailfish OS 3.2.1.20
kernel33016.img for Sailfish OS 3.3.0.16
kernel34024.img for Sailfish OS 3.4.0.24
kernel41024.img for Sailfish OS 4.1.0.24
kernel43015.img for Sailfish OS 4.3.0.15
twrp2.8.7.img for i9100
CM 12.1 for i9100
Sailfish OS 3.2.1.20 for i9100
Sailfish OS 3.3.0.16 for i9100
Sailfish OS 3.4.0.24 for i9100
Sailfish OS 4.1.0.24 for i9100
Sailfish OS 4.3.0.15 for i9100
Sailfish OS 4.4.0.64 for i9100
Sailfish OS 4.4.0.68 for i9100
Sailfish OS 4.4.0.72 for i9100
Odin v1.83
AOSP-LP-Kernel+_25-08-2015_TWRP-2.8.7.0.tar
Repartition: System=1GB, Data=14GB, eMMC=8MB, /preload=7MB
Repartition: System=1GB, Data=4GB, eMMC=7GB, /preload=0.5GB
Stock partition pit file
kernel07_flatpak (kernel with Flatpak support. Flatpak install/usage instructions.)
Some useful tips:
Low power mode aka ambient mode (in Fingerterm):
Code:
mcetool --set-low-power-mode=enabled
Disable lock screen animation (in Fingerterm):
Code:
mcetool --set-lockscreen-animation=disabled
Some useful patches:
Patchmanager 3.0
More folder icons
Operator name at bottom (Stopped working on 3.3.0.16)
Silica mail (transparent background) - Well documented here
Apps from Openrepos
Apart from the Jolla store there are plenty of other, community-made apps in Openrepos. There is a user-friendly app to install/remove apps from this source called Storeman. It can be downloaded and install from this location: Storeman
Debug/login/troubleshooting:
In Ubuntu, connect USB cable. telnet 192.168.2.15 2323 or SSH [email protected].
Notes:
On Sailfish OS, as it is a Linux system, you cannot install/run any android apps.
How to make a backup/restore with TWRP:
Now the old clunky method is no longer needed. Once you flashed the twrp2.8.7.img to the recovery partition you can boot into TWRP with the usual button combination (Hold buttons: Power on + Home + Volume up) and can make backup/restore.
Instructions for Bluetooth (On Sfos 4.3, BT works normally, don't need this magic)
BT works however turning it on/off is not as user friendly as I hoped. Here is a little instruction/troubleshooting.
Turn BT on (It only works from Settings/Bluetooth!!!!! DON'T try from TOP MENU!!):
If BT hasn't turned on since last boot:
go to Settings/Bluetooth
tap on the dot next to the Bluetooth option
If BT has turned on at least once since last boot:
go to Settings/Bluetooth and tap on the dot next to the Bluetooth option
go back to Settings
go to into Settings/Bluetooth again
tap on the dot next to the Bluetooth option (if it is not turned on repeat from Step 2! Eventually, BT should turn on.)
Turning BT off: Go to Settings/Bluetooth and tap on the white dot next to the Bluetooth option.
Notice: Never try to tap on the white dot twice without going back to the main menu of Settings.
Never try to turn BT on from Top Menu.
However, if you accidentally did any of these BT cannot be turned on again unless you:
reboot the device (this is the easiest) or
in a command line as root issue the following command 'systemctl restart bluetooth-rfkill-event.service' (this will restart the bluetooth-rfkill-event service)
I am not sure how pairing works with different devices.
New partition layout
I mentioned that I tried this Sailfish OS installation with the stock partitions and with another what created for Android 7.1.2. With the stock partitions however was a bit more sluggish than the other one. No wonder as in the stock partitions the /system has only 0.5GB and the /data has only 2GB storage and the rest 12GB is the separate internal storage (eMMC). In Sailfish the entire os (rootfs) including all directories (like /home) live on the /data partition so the 2GB was a bit tight. (The OS itself consumes about 1GB so not much left for apps and other stuff.)
With the other partition layout, the picture was a bit better as the /system had 1GB, the /data got 4GB and the rest 9GB remained for the internal storage. But the partition where the OS lives was separated from the 9GB partition. When I installed a few apps and copied some big files into the /home, I felt the limitation very soon.
Although this layout was sufficient for android but not good enough for Sailfish.
Therefore I have created my own partition table where I restructured the sizes accordingly to my need. (The lanchon repit zip file is available in the download section.)
In this new layout I gave 1GB for the /system (the prior 0.5GB was also fine as the CM12.1 base consumed only 400MB which let a 100MB free space, but I thought that might be not enough in the future so I have chosen 1GB here), I gave only 8MB for the internal storage (eMMC which is mounted into /android directory in this rom), and this made me possible to gave all the rest 14GB to the /data partition. So basically the Sailfish apps and /home can utilize the entire internal storage.
As an extra, on the S2 there is a 0.5GB /preload partition which is hidden and unused by default. In my partition setup I set 7MB to this and the rest almost 0.5GB is also added to the /data.
Go back to stock partitions
In case you would like to do this, you can download the stock partition pit file from the download section.
For this use Odin v1.83 which is also in the download section.
The steps are:
Boot the device into download mode and connect to the PC.
Open Odin v1.83 and tick the 'Re-partition' checkbox at the Option.
Then click on the PIT button and select the downloaded stock pit file.
Then click on the PDA button and select the downloaded TWRP (AOSP kernel) file.
Then click on start.
Done. You need to boot into TWRP and wipe all partitions (system, data, emmc) then you can install the stock rom back. (or if you select the stock rom at PDA instead of the AOSP kernel, it will do the repartition and install the stock rom as well. In this case, you don't need to wipe anything and the device will reboot into the stock Android at the end.)
Changelog:
15.02.2022
=========
General advice:
Patience! All (except camera) apps do start and work but they do need time. This is true for websites. When you clicked on something, wait patiently, eventually, it will start/load.
Work:
Same as previously
Improvement: Stock browser stable and works!
Do not work:
The camera app crashes the device into reboot.
03.09.2021
=========
Work:
Same as previously
Bluetooth does work, but once it is off, needs to be toggled a few times in Settings to make it turn on again.
14.06.2020
=========
Work:
Same as previously + Mobile data is fixed! (To make it work: change Protocol to IP in Settings/Mobile network/Data access point.)
Bluetooth doesn't work, it is still WIP
Do not work:
Same as previously
06.05.2020
=========
The latest version of Sailfish OS 3.3.0.16 is available to download. This requires a different kernel. Both of these can be found in the download section.
Note: With the new version the patch that displays the provider logo at the bottom on the lock screen stopped working. This issue is not related to the OS. The owner of the app should fix it.
Update: In openrepos Kodi is fixed for SFOS 3.3.0.16!
29.04.2020
=========
Work:
Screen
Touch
IMEI number is detected
Sensors (GPS, Rotation, Acceleration, Gyroscope, Magnetometer, Light & Proximity)
Wifi
MTP
Bluetooth (instruction is above)
Calls incoming/outgoing
Messages incoming/outgoing
External SD card detected and mounted to /run/media/nemo/_sdcard_name_ (where _sdcard_name_ is name of the sd card when it was formatted like 7C97-785B)
Internal SD card is mounted to /android
Pixel ratio and icons set to 1.00 (Can be changed to 0.82 which is more appropriate for the device's screen. to do this as root run the 'kimmoli-diyicons.sh 0.82' command. It will fail to install imagemagick but will set the ratio to 0.82 and as we have all icons in place it will work.)
Audio is routed to headphone if that presents
Camera front/rear (only for taking pictures)
Jolla store
findutils is installed by default (updatedb and locate commands work out of the box)
Torch
the charging icon does work properly, however, there is a little delay
can boot into TWRP recovery with the usual button combination (hold buttons: Power on + Home + Volume up)
kernel and recovery .img can be flashed from TWRP (no need for PC to flash Sailfish OS, kernel and recovery)
Low Power Mode (AKA "sneak peek" or "ambient display") works (install instruction is in this post)
The softkeys (each side of the home button) work as notification leds
Do not work:
Mobile data (WIP)
Video recording (It doesn't really work in other 3.x versions either. See my test results here.)
There is an extra little issue that is a delay in screen refresh which is related to how vsync is handled in v10 backend in qt5-qpa-hwcomposer-plugin. I managed to improve this but there is a little delay still. Probably this is the reason why we need to jump back to Settings every time before trying to turn BT on, but I am not sure.
04.04.2020
=========
Work:
Same as previously + Softkeys are used as notification leds
Bluetooth doesn't work, it is still WIP
Do not work:
Same as previously
23.03.2020
=========
Work:
Same as previously + with 'kernel12_mtp' the MTP works!
Bluetooth partially works (to switch on BT requires a reboot or issue a command manually, it is still WIP)
Do not work:
Same as previously
25.02.2020
=========
Work:
Same as previously + with 'kernel07_flatpak' the Low Power Mode (AKA "sneak peek" or "ambient display") works! (install instruction is in this post)
Do not work:
Same as previously
23.02.2020
=========
Work:
Same as previously + but from now on you don't need PC and heimdall to flash kernel and twrp
Do not work:
Same as previously
19.02.2020
=========
Work:
The same as listed earlier + with the new kernel (kernel06) I attached you can boot into TWRP with the usual button combination (hold buttons: Power on + Home + Volume up)
Do not work:
Same as previously except the TWRP/Sailfish OS boot which has fixed.
08.02.2020
=========
Work:
Screen
Touch
IMEI number is detected
Sensors (GPS, Rotation, Acceleration, Gyroscope, Magnetometer, Light & Proximity)
Wifi
Calls incoming/outgoing
Messages incoming/outgoing
External SD card detected and mounted to /run/media/nemo/_sdcard_name_
(where _sdcard_name_ is the name of the sd card when it was formatted like 7C97-785B)
Internal SD card is mounted to /android
Pixel ratio and icons set to 1.00 (can be changed, I set 0.82 which is more appropriate for the device's screen resolution see the download section)
Audio is routed to headphone if that presents
Camera front/rear (only for taking pictures)
Jolla store
findutils is installed by default (updatedb and locate commands work out of the box)
Torch
Do not work:
Mobile data
Bluetooth (the bt driver is in the kernel, so in theory, with some config file changes on the device it can work)
MTP
Video recording (It doesn't really work in other devices with CM12.1 base.)
Screen delay in refresh (related to how vsync is handled in v10 backend in qt5-qpa-hwcomposer-plugin)
the charging icon doesn't work properly: when the device is not on charger still shows it's charging (when I unplug the cable the message appears: "Charging..."
cannot boot into TWRP recovery (See Notes above)
Battery life:
In my experience the battery life is good. On standby, it can survive 10 days. (Almost 11.) I have checked once or twice daily during this period.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pictures:
App drawer
Top menu
Settings
About product
In case somebody missed these I would like to highlight some improvements since day 1:
Now both the kernel and twrp can be flashed as an .img from twrp (no need for PC and heimdall anymore)
Plus I uploaded a kernel with Flatpak support
With kernel07_flatpak, I have installed Flatpak and Angelfish but got an error when started Angelfish.
It looks like this is a limitation of the old kernel, but there might be a workaround.
I'll keep you posted.
With kernel12_mtp, MTP works. (and bluetooth partially)
The soft keys each side of the home button are used as notification leds. As this device doesn't have leds, the softkeys can be re-used as "leds". They do blink if the device is fully charged or there is an unread incoming text message. When the device is on charger they are on, otherwise both of them are off.
Can you post your sources? I'm interested in getting an I9100 as my new phone, and was considering a port and I'm happy to see you've already done all the leg work and then some!
Also about the kernel on this phone, I've been trying to port to a tablet with weird kernel images, can you run "file (path to android base kernel image)" - if it says ForPro FPT or similar I will be very very interested in how you got this phone to boot into rootfs. Very interested in the progress you've made though :3 Thanks for the awesome rom!
Galaxyninja66 said:
Can you post your sources? I'm interested in getting an I9100 as my new phone, and was considering a port and I'm happy to see you've already done all the leg work and then some!
Also about the kernel on this phone, I've been trying to port to a tablet with weird kernel images, can you run "file (path to android base kernel image)" - if it says ForPro FPT or similar I will be very very interested in how you got this phone to boot into rootfs. Very interested in the progress you've made though :3 Thanks for the awesome rom!
Click to expand...
Click to collapse
Sorry for delay in my reply.
The necessary repos in github are:
local manifest
dhd (in here the dhd submodule has to be refreshed from mer-hybris repo upgrade-3.2.1 branch)
droid-hal-i9100
droid-hal-version-i9100
android_device
kernel
The file (path to android base kernel image) command gives me: "Linux kernel ARM boot executable zImage (little-endian)"
A new image has been generated and can be downloaded. This one includes the patch of reusing the two softkeys (each side of the home button) and they do work as a notification leds!
Currently I am working on the mobile data and bluetooth (this latter partially works but is not reliable yet).
You're a g! I just bought an i9100M (different radio ).
I do recall ofono being unfriendly towards older RIL versions, galaxy nexus afaik is unfixable in 2.0+. However, if you have any service that is exciting! I can't wait to setup my environment and play around with this! If i9100M has a different partition layout/mount points (you know how samsung is) I will blow my brains out. How is camera working? Does this image include gstreamer/droidmedia?
You've probably got this sorted way better than I could hope to sort it! I'm shocked this doesn't have more replies.
EDIT: I noticed you have a complex patch for the pixel ratio. Have you tried just setting it in your patterns?
Galaxyninja66 said:
You're a g! I just bought an i9100M (different radio ).
I do recall ofono being unfriendly towards older RIL versions, galaxy nexus afaik is unfixable in 2.0+. However, if you have any service that is exciting! I can't wait to setup my environment and play around with this! If i9100M has a different partition layout/mount points (you know how samsung is) I will blow my brains out. How is camera working? Does this image include gstreamer/droidmedia?
You've probably got this sorted way better than I could hope to sort it! I'm shocked this doesn't have more replies.
EDIT: I noticed you have a complex patch for the pixel ratio. Have you tried just setting it in your patterns?
Click to expand...
Click to collapse
I am not sure what you d understand under 'any service' but except the mobile data, everything else works fine (calls in/out, texts in/out).
I don't know the difference between the i9100 and i9100m but on the internet you probably can find something about it.
One suggestion, before you start porting, install an android onto and boot into that and note the mounting points. This can save a little time when you need to set the fixup_mountpoints in hybris-boot.
The camera works but only for pictures. The video recording doesn't work. I think this is down to the cm12.1 base what I used for my port. I think gstreamer/droidmedia are there but am not sure.
I think the reason why this doesn't get more hype because this is a very old device and except some old fashioned folks like us, not many are using anymore. I don't mind it because this is my hobby. I am going through a to-do list until all I wanted works.
Currently, as the new version 3.3.0.14 is out) I am working on to update my port to 3.3.0.14. Unfortunately currently there is no OTA but hope eventually it will be sorted.
Changing the pixel ratio is not essential as the default 1.0 is ok-ish. I have found the 0.82 better so I included the icons into my image. As the script (kimmoli-diyicons.sh) is also included, we just need to run one command as root. I may try to set the 0.82 out of the box but currently it is not my to priority. As I will need to re-build everything for 3.3.0.14, I will try to set 0.82 in the pattern file.
Please keep me posted with your progress.
edp17 said:
The camera works but only for pictures. The video recording doesn't work. I think this is down to the cm12.1 base what I used for my port. I think gstreamer/droidmedia are there but am not sure.
Click to expand...
Click to collapse
You'd 100% know if you built gstreamer, it's specified in the middleware section iirc and you have to uncomment it from your patterns. I hope it's easier to build nowadays. Also I noticed your port wasn't on the mer-wiki, if I remember my login is it okay if I add it :3 ?
EDIT: https://wiki.merproject.org/wiki/Adaptations/libhybris#Samsung - I added it to the bottom. creditted you in the edit note. you can create an account on the mer bug wiki and use it to edit the tables. I'll also be closely following this and editting it to match your progress. Tell me if you'd like any values changed!
Galaxyninja66 said:
You'd 100% know if you built gstreamer, it's specified in the middleware section iirc and you have to uncomment it from your patterns. I hope it's easier to build nowadays. Also I noticed your port wasn't on the mer-wiki, if I remember my login is it okay if I add it :3 ?
EDIT: https://wiki.merproject.org/wiki/Adaptations/libhybris#Samsung - I added it to the bottom. creditted you in the edit note. you can create an account on the mer bug wiki and use it to edit the tables. I'll also be closely following this and editting it to match your progress. Tell me if you'd like any values changed!
Click to expand...
Click to collapse
I remember that I built gstreamer and un-commented the related stuff in the pattern file. I don't know whether easier to build now because I don't know how difficult it was before. I only can compare this project against my hammerhead one a few months earlier. For the hammerhead I needed to build the image with MIC, now the rpm/dhd/helpers/build_packages.sh command does everything for you. (For this you need to export the RELEASE, EXTRA_NAME values in your .hadk.env)
Unfortunately I still don't have OBS account so I couldn't add this device into the wiki. Thank you for doing that! Unfortunately new account creation on the mer bug wiki is restricted at the moment.
I have checked the wiki you have added and if you don't mind I would like you to amend a few things:
LED works (the two softkeys have repurposed as notification leds)
GPS works
Sensors Gyro and Magnetometer both work
(I need to double check the RTC alarm and USB net.)
I updated the page. I was going to set up my build env but seeing your row in the adaptations page made me realise you're so far along, and there isn't anything I could really do to push things forward by much. Once you get data and camera working this is pretty much one of 2 daily driver stable samsung sfos ports. Congrats :3 !
Galaxyninja66 said:
I updated the page. I was going to set up my build env but seeing your row in the adaptations page made me realise you're so far along, and there isn't anything I could really do to push things forward by much. Once you get data and camera working this is pretty much one of 2 daily driver stable samsung sfos ports. Congrats :3 !
Click to expand...
Click to collapse
Thank you for the update and for the congrats but I think it is only partially my merits. I probably couldn't done this without the help of sailfishos-porter guys.
As I mentioned in the main comment, I am using my S2 with this image on it as a secondary phone already. Mobile data is not crucial as my main phone can be a hotspot and with my S2 I can connect to it via wifi. Of course this doesn't stop me trying to make that work. (The BT was almost done but I then broke something.)
The camera is a different story. Afaik the video recording generally is broken in the CM12.1 base that I chosen for this device. (That doesn't work on my hammerhead which is also using CM12.1 base.) So I think that will remain outstanding unless I try to port with a different android base.
I think will stop with this for while because the new version (3.3) is out soon and would like to upgrade to it first, then continue working on the missing bits.
Video recording works in the latest scm12.1 snapshot (YOG7D). I wish they hadn't tanked the old etherpad faq, I swear I saw something about hybris 12.1 specific video recording stuff.
If I can find another sub 20 USD i9100 I am definitely working on this, but since my i9100m is my daily driver and dualbooting isn't as easy as with other devices (espescially since YOG7D doesn't have isorec committed ). Thanks for getting so much done though, You have no idea how much it means to me that Sailfish OS is available for our device, and so stable too! :laugh:
Galaxyninja66 said:
Video recording works in the latest scm12.1 snapshot (YOG7D). I wish they hadn't tanked the old etherpad faq, I swear I saw something about hybris 12.1 specific video recording stuff.
If I can find another sub 20 USD i9100 I am definitely working on this, but since my i9100m is my daily driver and dualbooting isn't as easy as with other devices (espescially since YOG7D doesn't have isorec committed ). Thanks for getting so much done though, You have no idea how much it means to me that Sailfish OS is available for our device, and so stable too! :laugh:
Click to expand...
Click to collapse
I think the video recording also works in cm12.1 on the android side, but the problem is a, between the android and Sailfish or b, on the Sailfish side. I am not sure but when I tried to fix it on the hammerhead (same cm12.1 base) I was told the recording was broken in general with cm12.1 base. I'll see how it works (what I can do about it) after Sailfish 3.3 is out.
Have you thought about to purchase a cheap android phone to use as daily driver and using the i9100m for your Sailfish project? (You probably can get a decent second hand android phone for sub 20 maybe with better spec than the i900.)
Thanks again for the kind words. This phone (the S2) is my favorite old friend. It is indestructible . I have soft bricked so many times and managed to install many other OS but as couldn't find Sailfish OS, so I though worth a try to port. And with support of the Sailfishos-porters guys, my dream became real :good: .
Sailfish
Wow, great. I installed and the system works! Bluetooth does not work after installing the packages, but bluetooth-rfkill-event- * are not installed (error). There are few programs in the system, however. Especially browsers, the standard one hangs up (maybe there is a third-party?). Slightly slows down, but bearable.
By the way, are you not working with @linusdan? It also seems to be working on the port github com /sailfish-i9100 (link)
Sorry no link rights.
P/s By the way, I saw on the postmarket wiki site for i9100 about working kernels for our device. Available: kernel version 4.2 or mainline kernel
S2UserRU said:
Wow, great. I installed and the system works! Bluetooth does not work after installing the packages, but bluetooth-rfkill-event- * are not installed (error). There are few programs in the system, however. Especially browsers, the standard one hangs up (maybe there is a third-party?). Slightly slows down, but bearable.
By the way, are you not working with @linusdan? It also seems to be working on the port github com /sailfish-i9100 (link)
Sorry no link rights.
P/s By the way, I saw on the postmarket wiki site for i9100 about working kernels for our device. Available: kernel version 4.2 or mainline kernel
Click to expand...
Click to collapse
I am glad you managed to install it. Have you tried to re-partition the internal memory as I advised?
Yeah, the bt and mobile data is still WIP status. Hopefully will have some time to complete them soon.
For the browser, the native one doesn't hang for me. You can try to look for and install one from the openrepos. (I suggest to install the Storeman as you will find more useful apps for Sailfish OS.)
I don't know linusdan but have seen he has checked this post already. Hope he also found it useful.
I am aware of the postmarketos for the S2 and tested it on my S2. At that time (about a year ago) there was no mainline linux kernel option for the S2. Unfortunately the mainline kernel doesn't help with Sailfish because the Samsung proprietary blobs are missing from there. This means Sailfish wouldn't work. It needs the drivers from the Android layer.
S2UserRU said:
Wow, great. I installed and the system works! Bluetooth does not work after installing the packages, but bluetooth-rfkill-event- * are not installed (error). There are few programs in the system, however. Especially browsers, the standard one hangs up (maybe there is a third-party?). Slightly slows down, but bearable.
By the way, are you not working with @linusdan? It also seems to be working on the port github com /sailfish-i9100 (link)
Sorry no link rights.
P/s By the way, I saw on the postmarket wiki site for i9100 about working kernels for our device. Available: kernel version 4.2 or mainline kernel
Click to expand...
Click to collapse
I forgot to mention that there should be a folder '/edp17packages/bluetooth' where you can find the missing packages for the bt. Once you installed it, probably only need to tweak some config files and need to create some scripts. I currently started working on it.

Categories

Resources