yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 1S] richcocoa:
Anyone having issues with OTA updater?

This is my first post. So, Hi all.

My cm 12.1 R2 runs great on my redmi 1s. The problem is that OTA updates don't seem to download. Refreshing the updates list works (in Settings => About phone => CyanogenMod updates). But when I try downloading it, is simply doesn't work. How can I find the problem here? Is this normal? And does any one have any suggestions?

I haven't uninstalled any system apps. I have tried it after enabling all of the disabled system apps: Camera, Browser, Calender. Though I have a ton of Play Store apps. I am using the GApps linked to in the original post.

What can I do?

Thanks

Richard
[Xiaomi Redmi 1S] phreakenstein:
If you are on R4, you already have latest update, so the updates list will be blank.
[Xiaomi Redmi 1S] techgreed:
WiFi issues, R4

WiFi turns on automatically.

If we keep the WiFi on and connected but not using it then it looses connectivity and shows exclamation mark, I have to turn off and on again to get it working.

There is no DHCP conflict as I use static IP address on all my devices. Other WiFi devices are working fine in the same network.

Installation was very smooth even with both sim inserted, bit laggy as I was charging while initial setup.

Thanks.
[Xiaomi Redmi 1S] richcocoa:
No. I am on R2. The updates list shows 2 entries, for R3 and R4. But when I press the download button to the right, nothing seems to be happening. What I did notice was that the download icon flashes for a second on the status bar. Does this have anything to do with the fact that I am on mobile data and not wifi?

No network activity, the download manager does not seem to be downloading anything, nothing.

Does it work alright for you, or do you flash your rom from the recovery?
[Xiaomi Redmi 1S] agum:
select data sim on every reboot, R4

The phone asks to select the data sim on every reboot.

Is anyone has similar issue? I have both sim installed
[Xiaomi Redmi 1S] david_inuk:
Other people r reporting the same issue over on the main thread. Provide the devs with a logcat to help them solve the problem!
[Xiaomi Redmi 1S] sinnerz2000:
Download directly from the first post of the main thread.
[Xiaomi Redmi 1S] skrz23:
r4 bugs

I'm installed r4 yesterday and when i open hd games it's always force close
[Xiaomi Redmi 1S] renčam:
I faced this problem too, did several clean install with and without sim cards, nothing. Now I am without this sim card bug now, so you can try this too: I didn't do a clean install. Flashed 5.1.1 over a build 5.1 and the bug is gone. Maybe it will help.
[Xiaomi Redmi 1S] agum:
Thanks, but I was Flashed 5.1.1 over a build 5.1 before try clean install and both produce the same problem:confused:

are you sure the bug is gone?, for me sometime it doesn't ask for data sim after reboot.
[Xiaomi Redmi 1S] shareware:
This is my case, but the bug flew back next day, just after a few reboots.
[Xiaomi Redmi 1S] Tyrell66:
Bluetooth setting

Hi guys,

I just bought a Mi Band to go with my Redmi 1S, which links via BT (low energy). I just notice that when BT is on, CM12.1 keeps scanning for new nearby devices. And there no "visibility timeout" like on the other devices/builds. This was already the case with R3, and it's still unavailable now in R4.

This is a battery drain and a security hole. Is there a way to fix this quickly?

Thanks in advance,

Tyrell66
[Xiaomi Redmi 1S] ristanto1111:
Well I try to flash that large file (200 MB up file) and it makes update succesfully. Marked with says "Android is upgrading 1 of 120 " .. and so on.

thanks guys.
[Xiaomi Redmi 1S] Bisimoto:
I'm using r4. Nice room, smooth!

But my battery drain so fast (reason drain from 'android os')

On r1 my battery so nice. Screen on time with wifi i got 5hrs++

On r4 hard to get 4hrs :(
[Xiaomi Redmi 1S] Amandeep Mittal:
Downloaded and flashed r4. Eveeything is a refreshing experience but one problem i am getting... provided root access to both adb and apps from developer options..but still titanium backup says no root access .. rebooted and also tried reinstalling tb.. no result.. what to do?
[Xiaomi Redmi 1S] david_inuk:
Are you sure you granted it root access when it asked for it?
[Xiaomi Redmi 1S] Amandeep Mittal:
I provided root access from developers options but it never asked fr root access when i launched the app.. same happened fr greenify.. greenify works fine but tb is not.. even i tried installing supersu .. dn uninstalling and reinstalling agn..but no result..
[Xiaomi Redmi 1S] Bisimoto:
Another bug (problem). I success login 2 my email, but after login my email can't refresh or reload.

I not facing this problem in r1. And in another phone, i not facing this problem.
[Xiaomi Redmi 1S] L2Y:
Anyone experiences 2% battery after each reboot? Btw I'm using CM12.1 RC4
[Xiaomi Redmi 1S] GRKRND:
Call recording

Is there any way to enable recording for all calls like MIUI do?
[Xiaomi Redmi 1S] prasanna51:
latest cm roms causes lagging.

rom is smooth but when playing games some times frame rate drops and causes lagging....it will happen in all latest cm 11 and 12.1 based roms including cm 11 r 26.. please fix this bug in next release..
[Xiaomi Redmi 1S] sinnerz2000:
You can use miui rom if you think that's better.
[Xiaomi Redmi 1S] vipinaggarr:
Camera quality of CM12.1 rom

Please dev focus on improving the camera quality of our redmi 1s. your lollipop rom is a really good and smooth but camera quality should be your prime focus.
[Xiaomi Redmi 1S] sinnerz2000:
They've already stated that unless xiaomi releases updated sources for lollipop they cannot fix the camera.
[Xiaomi Redmi 1S] kalya bhau:
Xiaomi as always will release there sources after pressure from consumers, we have to send them millions of emails and beg them to release sources:mad:

BANG that THANKS button
[Xiaomi Redmi 1S] phreakenstein:
Is Trusted Face missing from smart lock section for anybody? It may be because of roll outs, but I have enabled trust agent and have on body detection, trusted device and trysted place, but trusted face is missing. Is it just me or has something to do with our device?
[Xiaomi Redmi 1S] bancody:
Hey dev.. I think overheating is the first problem.. Overall its rock dude.. Thankyou
[Xiaomi Redmi 1S] barrack1:
I'm on r4 and didn't notice any overheating except when I was flashing the roms, so maybe the max frequency was 1.6Ghz while the flashing process was running.

---------- Post added at 11:48 AM ---------- Previous post was at 11:28 AM ----------

On R4, I found that the cpu frequency (using cpu-z) tends to stay at 1.4Ghz longer than the stock Miui instead of going down to 300Mhz fairly quickly. That would be worse for battery life.
[Xiaomi Redmi 1S] theMYRONJAY:
Data Connection

Hi! I'm on R4, everything is smooth and clear aside from one thing.

I can't seem to use my data connection, anyone else having this problem?

I'm good using wi-fi, but I can't use my data connection.

Please help.

Also, there's always this exclamation point (!) in my signal whenever I turn off my wi-fi.

But when wi-fi is on and connected, the signal isn't there.
[Xiaomi Redmi 1S] barrack1:
The battery does seem to be draining too fast in R4. It does seem like the default cpu governer is being very aggressive at making it run at full speed, 1.4Ghz.

Edit- Did some testing and reduced the max speed speed to 1.3Ghz and change the governer to powersave instead of the default ondemand and I think it helps. Battery drain for last night was around 3% in aeroplane mode.
[Galaxy S 4 Q&A, Help & Troubleshooting] :
Hello XDA!

I just bought a new Samsung Galaxy S4 VE with buildnumber KOT49H.I9515XXUIANK2 and I wanted to root it. After looking I found Chainfire's AutoRoot, but that is made for buildnumber KOT49H.I9515XXU1ANI3. Can ik still root my device with that or am I stuck with Samsung's crapware?

Greetings from The Netherlands,

JulianPlaysGamez
[Galaxy S 4 Q&A, Help & Troubleshooting] sd_shadow:
Please see [Q] Galaxy S4 VE (I9515) - Root, bootloader status and ROMs by Zebbro

Your thread will be moved to Galaxy S 4 Q&A, Help & Troubleshooting
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
Don't look at the build numbers, it doesn't matter. Just flash it.
[Galaxy S 4 Q&A, Help & Troubleshooting] :
First of all, thanks for the reactions! Now I ran into a different problem: I can't boot into Download Mode or Recovery Mode. No matter how hard I try, I've pressed every possible button but nothing worked. Tried On/off+Home+Volume down and On/off+Home+Volume. Please help me!

JulianPlaysGamez

Edit: never mind, I just had to remove the accu ^_^
[Nook Touch Android Development] kfazz:
Anyone with UART or USB access to u-boot willing to help with a dev project?

Devs only ATM, too many serious bugs

And there is the possibility of screen damage

If it hardlocks with papyrus ic on

test build #1 pulled due to poweroff/screen burnin bug

Test build #1: http://xdaforums.com/showpost.php?p=60336716&postcount=14

Test build #2: http://xdaforums.com/showpost.php?p=60453540&postcount=74

Test build #3: http://xdaforums.com/showpost.php?p=60677266&postcount=136

Kernel Tree: https://github.com/kfazz/android_kernel_bn_zoom2/tree/nook_nst_3.0

zoom2 device tree: https://github.com/kfazz/android_device_bn_zoom2

vendor tree: https://github.com/kfazz/propietary_vendor_bn.git

Local manifest:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="CyanogenMod/android_build" />
<remove-project name="CyanogenMod/android_frameworks_base" />
<remove-project name="CyanogenMod/android_frameworks_native" />
<remove-project name="CyanogenMod/android_bootable_recovery" />

<project path="frameworks/base" name="kfazz/android_frameworks_base" revision="nook"/>
<project path="frameworks/native" name="kfazz/android_frameworks_native" revision="nook"/>
<project path="bootable/recovery" name="TeamWin/Team-Win-Recovery-Project" revision="android-5.1"/>

<project path="build" name="kfazz/android_build" revision="nook"/>
<project path="device/bn/zoom2" name="kfazz/android_device_bn_zoom2" revision="master"/>
<project path="kernel/bn/zoom2" name="kfazz/android_kernel_bn_zoom2" revision="nook_nst_3.0"/>
<project path="vendor/bn" name="kfazz/propietary_vendor_bn" revision="master"/>
</manifest>

Done:

Kernel 3.0.8 boots

Zoom2 devicetree

Cm11 boots

Twrp boots and installs ROM

Wip:

Ghosting

Ram usage

Suspend

To do:

WiFi sleep of death,

USB(works, but kinda slow) fixed adb gets ~4mb sec mtp gets ~2.8

Integrate epdcontroller in framework (partially done)

Pngcrush grayscale all images done, by adding back custom squisher to android/build

Fastmode,

multitouch, done, using 1.3.1 zforce driver + changes based on http://lwn.net/Articles/572311/

USB host not sure what the limit is but a 100mA usb mouse works without a powered hub, and a 200mA usb stick doesn't

Themeing

Gapps don't work (but too much lowram lag to be practical)
[Nook Touch Android Development] NOOK!E:
Woah, this looks sick! :svetius: I'd be glad to help you in any way I can. I've got a Nook Touch Glow running a customized version of the 1337 ROM, a modded framework-res.apk, and a modded Settings.apk (see my sig for full specifications). Let me know how I can assist!

By the way, I'm inviting you to my Nook Touch Devs group now, so we can talk in there. :)
[Nook Touch Android Development] kfazz:
if you'd be willing to try compiling it, javifo has a u-boot tree that looks like it supports ttyUSB.

https://github.com/javifo/NST/tree/master/u-boot

I'm not sure if my kernel supports usb because my usb port is broken, but if you can get u-boot access over usb

i'll try to build a kernel and bootscript that will be debuggable over usb.

My current setup is completely self contained on the sdcard and doesn't touch stock partitions except reading device specific data from /rom
[Nook Touch Android Development] NOOK!E:
I'll give it a go on the weekend when I have some free time.
[Nook Touch Android Development] kfazz:
rendering from userspace

omap3pfb drawing modes:

pageflip mode: (non deferred)

turned on by writing a 1 to

/sys/devices/platform/omap3epfb.0/graphics/fb0/pgflip_refresh

apps that are unaware of bn's eink setup work fine.

this is how stock recovery uses the display, and also bootanimation on stock rom (i think).

Downside: ghosting, no control over waveform used to draw ( that i know of )

'command' mode.

display update is controlled by various private ioctl commands to the /dev/graphics/fb0 file.

ioctl -> * -> EpdService function -> EpdController function

OMAP3EPFB_IO_SET_REGION <- * <- configureRegion <- setRegion

OMAP3EPFB_IO_GET_REGION -> * -> UNUSED

OMAP3EPFB_IO_RESET_REGION <- * <- resetRegion <- resetRegion

OMAP3EPFB_IO_FILL_REGION < * <- fillRegion <- fillRegion

* is jni function calls in libandroidruntime.so

EpdController.epdRefresh writes to /sys/devices/platform/omap3epfb.0/graphics/fb0/epd_refresh

1 = Gray Clear

0 = update

epdDisable writes to /sys/class/graphics/fb0/epd_disable

value is timeout period in milliseconds

by themselves these writes and ioctls do nothing. the magic is in libui.so

stock rom calls OMAP3EPFB_IO_REQ_AREA_UPDATE in FramebufferNativeWindow::queueBuffer()

to update the display. No idea what logic the is used to decide when or whether to update.

Deferred Rendering:

this is turned off in kernel config for stock rom, and theres a typo in one of the ifdefed clauses which

leads me to believe this code path was abandoned early in development of the driver

i got it to work, but it doesn't seem to have many advantages over regular pageflip mode, and it's slow.

more info on deferred io: http://elinux.org/images/2/25/E_paper_Displays.pdf

anyone see any errors or have any insights as to how to implement this on Kitkat's graphics stack?
[Nook Touch Android Development] aiamuzz:
Oh Wow !!!

is that really a cm11(KITKAT) lock screen on a NST G ???

thanks for trying @kfazz following this thread, look forward to what will materialize out of this GREAT effort. kitkat is known to support low ram devices, hopefully it will accommodate our Nook Simple Touch activity which is only static read centric operations.

thanks for attempting
[Nook Touch Android Development] coolius:
Any chance of a video? I'm scared that this is just a late April fool's joke! Been waiting for this for so long! :)
[Nook Touch Android Development] dorfd1:
I to can't believe it. but this is cool. I hope it will be usefull since I thought the cm7 would have the highest version of cyanogenmod to work well on our devices.
[Nook Touch Android Development] dombeef:
I mean, the source to compile is right there, and he last updated it about an hour ago... Id compile a version to test for myself, but my server that I've used in the past for compiling android has yet to be set up again(new install :P)

Im honestly amazing that kfazz got it working, major props to him and hopefully this would allow more funtionality to come out of my old nook(s)

Edit: Oh, and this would also open up a wider range of usb devices to plug into the nook, as well as better compatibility for any new apps

---------- Post added at 10:54 PM ---------- Previous post was at 10:46 PM ----------

Also, to kfazz, Ive got an extra nook that doesnt matter if the screen gets damages(a new one is fairly cheap anyways), Id love to help you test out this project. I can also get access to the uart if needed, ill just have to pop open the case and solder on a few points(right? I last read about the access to the uart on the nook many months/year ago and I may be mistaken)
[Nook Touch Android Development] kfazz:
Yes, yes, and yes. UART access isn't strictly necessary, but there are a few issues I want to resolve before release. Mainly the circle animation android draws on loading screens, and auto partitioning sdcard. PS delete system/core/ uncrypt/android.mk and it should build. (Twrp conflict)
[Nook Touch Android Development] aiamuzz:
Wow, unbelievable we have WIP and moreover kitkat of all, Can't wait to try it out.

switching off all possible animation is best don't want to lose out on valuable battery time.

thanks Guys.
[Nook Touch Android Development] dorfd1:
I think the boot animation would have to be disabled.
[Nook Touch Android Development] aiamuzz:
Trying to be optimistic ...

A LG optimus Pro C660 with 256 RAM and less than 200MB internal storage for apps.

Came across this Lollipop

I believe Kitkat was also attemtpted for this device. but the ROM file is purged and no longer available.

If this device can operate as a full fledged phone, Will our device hold any promise for static reading purposes only ?
[Nook Touch Android Development] kfazz:
super buggy test build #1

super buggy test build #1:

update: pulled due to serious bugs. poweroff may fail with the screen on, buring in an image.

First up, to the best of my knowledge this rom won't melt your eink screen, wipe your sd, or cause your nook to spontaneously combust, but NO WARRANTIES.

With that out of the way, here is a test build. I'm not publishing it because it's done, but rather to encourage others to sync the source and try bulding it.

backup contents of sdcard first

write sd.img to a sdcard in the usual way. (sd_img.zip is attached to this post)

nook_nst_3.0 kernel: (this still has wifi sleep of death bug)

Same thing built with encore_merge kernel:(no wifi sleep bug, may have other problems, probably usb)

copy rom zip and md5 to nook's media partition

boot from sdcard, mount media

install rom (make sure signature verification is on)

reboot

if it doesn't boot hard reboot by pressing power and home for 9 seconds

"Where's the source?"

See the first post.,

Specifically the kernel in this rom was built from commit 7c944768270ec14736c7977b876a107e0a30b87f (current tip of nook_nst_3.0 branch)

except arch/arm/mach-omap2/board-3621-gossamer.c which was checked out from commit fbd1b8ccbebcb483eed158c5b6d51a4f44bbd2c4 (current tip of encore_merge branch)

"How can I help?"

sync my code and send me patches

sync my code and build it yourself

make a cm11 theme and test it

patch apps to use EpdController

What isn't helpful:

it's buggy. it's slow.

feature x is broken / app x doesn't work.

it's ugly. etc.

"Where're the gapps? I really want gapps, even though i know they will run all the time stealing my precious ram"

try the pico ones, or pico(uni). you probably won't be able to run browser after they're installed

http://www.androidrootz.com/2015/03/download-android-44x-kitkat-pa-gapps.html

Alternative: https://f-droid.org/ has a market app for free/foss software, and lost of reading apps
[Nook Touch Android Development] Kralik:
I'm very excited to see where this is going. I have an app that requires 2.3+ and would love to get it working. I can put up with no Gapps, slow system, etc. Just wondering about a few things:

Ghosting: Does the e-ink screen not properly refresh?

Wifi Sleep of Death: What does this mean?

Cheers!
[Nook Touch Android Development] dombeef:
For Ghosting, its basically the same as the regular OS, theres issues after a while of use, but I havent seen much from a few hours of trying out the build.

And also to kfazz, this build is awesome! Ive been trying to compile the OS, but have been having issues compiling(last time I compiled an android zip was like 2 years ago for my Nook Color), Although I am not done trying yet ;)

Also: I found a small bug(no idea where to go to fix it, but I remember it being like a bug a while back for the CM10 or 11 development build for the Nook Color) where if you you try to go into landscape(by an app forcing it), the x and y values for the touchscreen are flipped, it shouldnt be too hard to change.
[Nook Touch Android Development] aiamuzz:
Hey this is really great !!!

but too early for me to try ... not a techie who understands all this stuff.

We have CWM recovery installed and using yattaro&nookie's ROM

Can't this be flashed from CWM ?

Twrp Recovery a must ?

Hey dombeef, great to hear you complied it and have flashed it on your device.

Looking forward to your feedback on its performance.

Excited !!!
[Nook Touch Android Development] Kralik:
Just remembered -- I have the Glowlight model. Is turning the light on/off and adjusting the level supported? Is it possible to customize the left/right side buttons?
[Nook Touch Android Development] aiamuzz:
Well [MENTION=4337815]Kralik[/MENTION] as you can see its a little too early for that ... i believe this is not even a beta build !!!

am i right [MENTION=2685019]kfazz[/MENTION] ?
[Nook Touch Android Development] kfazz:
change touch.orientationAware = 0 to touch.orientationAware = 1 in /system/usr/idc/zForce_Touchscreen.idc (device/bn/zoom2/prebuilt/usr/idc/zforce_ts.idc)

Fix tested and pushed

Ghosting: Screen updates in GU mode most of the time, so previous contents of screen are faintly visible.

Wifi Sleep of Death: sometimes after the nook is in suspend for a while, the wifi chip doesn't power back on and toggling wifi from the android settings will cause the nook to lockup in a bad state.
[Nook Touch Android Development] aiamuzz:
[MENTION=4636254]pinguy1982[/MENTION] & [MENTION=2685019]kfazz[/MENTION] ... can i flash this over your build #3 ?

will this be lighter on the RAM ?

thanks,

---------- Post added at 01:58 PM ---------- Previous post was at 12:59 PM ----------

thought of trying out [MENTION=4636254]pinguy1982[/MENTION] 's tweaks.
[MENTION=2685019]kfazz[/MENTION] ... unable to boot into the twrp recovery ... i am on the above uImage, could this be the reason ?

the back light is aglow ... it goes off after a while ... and is back when power button is pressed.
[Nook Touch Android Development] kfazz:
it should work flashed over build 3, it probably uses less ram, and you're in recovery if it does that, but the screen failed to initialize. try rebooting with/or without usb in. make sure you're using the latest recovery files i posted.
[Nook Touch Android Development] kfazz:
1. from adb shell:

mount -o remount,rw /

mkdir /boot

mount -t vfat /dev/block/mmcblk1p1 /boot

then you can access with file manager app, note: this won't survive a reboot.

2.

i haven't found any good themes yet.

3. dev options, set all 3 animation scales to 0%.

i tried overriding this in the device overlay but it doesn't seem to work.

some apps like fbreader have a per-app setting to disable animations.

doing it system wide is probably infeasible, other than for things that are part of the holo framework like spinners.
[Nook Touch Android Development] aiamuzz:
[MENTION=2685019]kfazz[/MENTION] ... thanks i tried booting into recovery by keeping the device on charge(usb connected) and i was able to successfully able to boot into recovery.

[MENTION=4636254]pinguy1982[/MENTION] ... i tried to install your zip file ... encountered the following error.

Updating partition tables...
...done

Full SELinuz support is present.
MTP Enabled

Updating partition tables...
...done

Installing '/media/Test-cm-11-20150511-UNOFFICIAL-zoom2.zip'...

Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Verifying zip signature...
E:Zip signature verification failed.
Error flashing zip '/media/Test-cm-11-20150511-UNOFFICIAL-zoom2.zip'
Updating partition tables...
...done

Please help fix the error.

thanks,
[Nook Touch Android Development] pinguy1982:
Not sure. TWRP skipped checking MD5 so I doubt it was that.

Try wiping system before installing.