yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] ak:
new kernel online

[ CAF KERNEL - v.004 ]

A kernel based on Oxygen Official branch.

Download: AK.004.OP2.CAF

[ SMALL CHANGELOG ]

fix anykernel2 typo

KCAL control

XZ compress for kernel

added AK optimized flags

restrict rootfs slave

ecc ecc

[ FULL CHANGELOG ]

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.004.OP2.CAF

anarkia1976 - ak_OnePlus2_defconfig: cleanup RD_XZ

anarkia1976 - ak_OnePlus2_defconfig: enable RESTRICT_ROOTFS_SLAVE

Stephen Smalley - Enable setting security contexts on rootfs inodes.

anarkia1976 - makefile: merge and bring inline with AK

anarkia1976 - ak_OnePlus2_defconfig: enable KERNEL_XZ

anarkia1976 - xz: Optimize Sfck Compression

anarkia1976 - ak_OnePlus2_defconfig: enable KCAL

savoca - msm: mdss: KCAL: Send a pp display commit when changes are made

savoca - msm: mdss: KCAL: Do not read from picture adjustment registers

savoca - msm: mdss: KCAL: Read values from MDP registers wherever possible

savoca - msm: mdss: KCAL: Apply default values on boot

savoca - msm: mdss: KCAL: Queue changes when panel is powered off

savoca - msm: mdss: KCAL: Remove MODULE_DESCRIPTION

savoca - msm: mdss: KCAL: Update Kconfig description

savoca - msm: mdss: KCAL: Update according to linux guidelines and checkpatch.pl

savoca - msm: mdss: KCAL: Check panel power state before applying values

savoca - msm: mdss: KCAL: Allow kcal_enable to control all post-processing features

savoca - msm: mdss: Keep KCAL within its own source file

savoca - msm: mdss: Remove deprecated __dev* markings

savoca - msm: mdss: Add pa_v2 support to KCAL

savoca - msm: mdss: Replace PGC implementation with PCC for KCAL

savoca - msm: mdss: Add KCAL support for post processing control [v2]

anarkia1976 - Added ak-changelog generator

​
[OnePlus 2 Original Android Development] Gamm86:
Flashed 004.

Booted without issues.

Synapse working lovely!

Thanks for the quick update!
[OnePlus 2 Original Android Development] nirmik379kale:
will kcal work?

also, regarding the discussion thread, the shouldn't post questions etc here? this will be post by ak only thread? just a little confused :confused:
[OnePlus 2 Original Android Development] Gamm86:
It's working on the latest release.

I love cool amoled. :)
[OnePlus 2 Original Android Development] nirmik379kale:
awesome, a;ready downloading it as we speak :fingers-crossed:

Thanks [MENTION=3685904]ak[/MENTION] :cool:
[OnePlus 2 Original Android Development] Stylo King:
This is a development thread, Post bugs with logs or any problem related to kernel that isn't answered in the discussions thread here.

You can also post in this thread if you want to ask [MENTION=3685904]ak[/MENTION] something directly but please everyone try to post your small queries and problems in the Discussions Thread.
[OnePlus 2 Original Android Development] krxz:
Anyone else getting this error when trying to import a profile under gamma tab? I am on OxygenOs 2.1.0 with ak 004
[OnePlus 2 Original Android Development] megamarini:
Why i can t choose governor?
[OnePlus 2 Original Android Development] ak:
please. leave for now these questions on stand-by state. no officially support. i need to fix a lot of things.

thanks. :good:
[OnePlus 2 Original Android Development] theBIGone:
installing your latest kernel fixed the problem!
[Android Q&A, Help & Troubleshooting] ka_cu:
Hi,

First of all sorry for crappy links, but as a new user I cannot post them.

I have got a chinese phone called Haier W858 (imei.info/phonedatabase/15302-haier-w858/). Few days ago I found out that it is similar to Smartfren Andromax I3S and managed to modify stock ROM by fastboot without any problems (current ROM: needrom.com/download/smartfren-andromax-ad682h/). After that when I tried to turn on fastboot mode I got information that bootloader is locked and I need verify.zip file on sdcard to unlock it. Few searches later I found correct verify.zip file and put it on sdcard. Everything should be great, because now when I try to run fastboot mode I get information that verify.zip file is correct and phone turns into some kind of fastboot mode, but I cannot write anything to it.

For example, I get messages like:

> fastboot flash modem modem\NON-HLOS.bin
sending 'modem' (31985 KB)... OKAY
writing 'modem'... [B]FAILED (remote: can't flash Partition)[/B]

When I check if bootloader is unlocked by fastboot oem device-info I get:

>fastboot oem device-info
... INFO Device tampered: true
[B]INFO Device unlocked: true[/B]
INFO Charger screen enabled: true
OKAY

so it looks like everything should be alright.

Whatsmore, I can write any ROM by doing it like so:

- turn into that weird fastboot mode,

- boot up into TWRP or CWM by writing: fastboot boot recovery.img (because of this problem I cannot flash it permanently so I boot it up),

- install ROM from recovery.

What my question is - is it possible to flash previous fastboot mode where I could write anything to phone without problems and without checking any verify.zip file?

I do not know if it could help in anything but this is shot made when I did not have correct verify.zip file: postimg.org/image/u7thz6tq7/. Now it says that it is OK and boots up into that weird fastboot mode.

Thanks in advance.
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
Are you trying to flash a modem from a Samsung phone? Haven't seen NON-HLOS.bin files used in other phones before. That would explain why it wouldn't flash through fastboot...
[Android Q&A, Help & Troubleshooting] ka_cu:
Hard to say if it is modem from Samsung phone, because all of ROMs for this kind of phone got that file. Maybe it is based on Samsung soft... I did not have any problems with flashing this and other files once with fastboot (first flash that I made was with ROM from this site: needrom.com/download/smartfren-andromax-ad682h/) and it was successful, but after that I get messages that I wrote in 1st post.

Any advices?
[Atrix 4G Q&A, Help & Troubleshooting] Be-Mine:
I have this Atrix now for a few days and want to examine it. It is one of my favourite devices since it was released years ago.

I will start to tamper with it, and try custom Roms etc. But first of all i want to make a full backup of the device, so i can probably recover it fast and without hassle in the future. I also use Huawei Ideos X5 and i have full Raw backups of its 4GB emmc (2GB part is used as an internal SD originally). I backup and restore these images with the basic free program "Roadkil's Disk Image" in Windows.

As we all know, to use this program or similar disk backup programs, we have to reach the phone's whole disk (called emmc or internal card, i guess). In Ideos X5 the procedure is as follows;

1) Make sure the bootloader is unlocked.

2) Open the phone to reach the "pink screen" by pressing VolUP+VolDOWN+POWER buttons at the same time.

3) When you see the pink screen connect the phone to the PC via USB.

4) The disk is reachable now, use a sector based backup program such as "Roadkil's Disk Image" (sometimes called Forensic Copy).

OK, it's a brief explanation but clear enough, i guess. Now i want to do the same thing in Atrix, since i unlocked the bootloader and installed CM7.2 to it, 6-7 months ago, while my relative was using it.

I connect the phone to the PC in Fastboot and RSD modes, but i can't reach the disk itself. The adb and fastboot commands work, the connection is successful, but neither Windows, nor Linux Mint sees the 16GB disk. So, full Raw backup seems impossible in this manner!

I searched the Atrix forum widely, but couldn't find a solution. There are threads of making Nandroid backups or partition based backups with a different approach which i didn't try yet. For example:

"[INFO] Backup the pds partition of your Atrix!"

Link: http://xdaforums.com/showthread.php?t=1138220

I can learn and apply this commandline method but 4GB Fat32 file limit will probably be the base problem. Taking the backup directly to the NTFS HDD on PC can be a solution but, has anyone tried it?

It seems that, important partitions are backed up using ADB /shell commands. But i believe that full disk backups may be the best way to recover a phone in some situations. I know that backing up the whole disk including also the 10,7 GB internal SD part is useless, time and space consuming. But recovering the phone totally to a previous state is sometimes fatally important or advantageous. ie:

* Recover the phone when the IMEI is gone somehow,

* Recover the phone when the partitions are resized

* Recover the phone when partition table is corrupted or partitions are lost

* Move between your installed Roms without worrying about all the procedure, wipes, resizes, bla bla...

* ......

Anyway, here comes my main question:

Is it possible to reach the 16GB disk of Atrix from PC? If so, how?

Thanks in advance.
[Atrix 4G Q&A, Help & Troubleshooting] palmbeach05:
System + data (internal storage) is your 16GB. You'll backup system and your internal storage to get what you're looking for. And to the best of my knoledge, sbf'ing will do the rest. IMEI may be somewhere else, not sure. Afaik we don't have a tool to edit some advanced stuff like the latest qualcomm devices do.
[Atrix 4G Q&A, Help & Troubleshooting] Be-Mine:
Sector by sector Raw image backup and restore options in Android devices!

I guess i couldn't explain the issue clearly.

The 16GB Atrix disk that i meant, is the main memory block which is exactly 15.914.762.240 bytes in total. This memory consists of 3 primary and 14 logical partitions. Some of these can be considered as the /recovery, /boot, /pds, /cdrom, /osh, /system, /cache, /data, /emmc(~11GB internal SD).... etc. partitions:

[IMG="Atrix 16GB mmcblk0"]http://i57.tinypic.com/i3cl7n.png[/IMG]

From what i've learned from the below links;

[DEV][REF] El Grande Partition Table Reference

[GUIDE] Making Dump Files Out of Android Device Partitions

[GUIDE] How to make a nandroid backup directly to your computer without using sdcard

these partitions can be backed-up and restored within terminal emulator or ADB, with the help of the so-called "dd method" (which i will research more)!

Backup of the whole 16GB memory block is also possible regarding to these links, but restore of this whole block image seems impossible, which is the main problem!

Now, let me explain the weird situation on my ancient Huawei Ideos X5 phone. If i connect the Ideos X5 to the PC with the "pink screen" (by pressing VolUP+VolDOWN+POWER buttons), the phone's whole 4GB memory block is reachable. Eventually i can do whatever i want with the phone, because the memory block is seen as a USB disk to the Windows,Linux,etc:

[IMG="Ideos X5 4GB mmcblk0"]http://i57.tinypic.com/2ch2k3r.jpg[/IMG]

Here are the possibilities that i can do (and already did) with the Huawei Ideos X5:

1) Intelligent sector copy of the recognized partitions.

Only data blocks are backed up and restored on ext2/ext3/ext4,Fat32 partitions, so the backup files are small. But the other unknown partitions can't be backed up with this method.

2) Forensic copy of the partitions.

Sector by sector Raw copy is made, so the backup file is exactly the same as the partition size. All known and unknown partitions can be backed up and restored with this method.

3) Forensic copy of the whole disk (full memory block)

The whole memory block is copied (raw backup) and restored. The image file size is exactly the same as the disk size (But can be zipped afterwards to reduce the size.)

I checked the forum widely, now i understand that the "pink screen" property is unique to the Ideos X5! Most of the devices (if not all) seem to NOT support this option. The whole memory block is NOT reachable within the Windows, Linux, etc. It's only available with ADB or within the device from the terminal emulator.

As a result, i won't be able to make full Raw image backups and

restores

of the whole disk of Atrix, which also seems impossible on the other devices.

If we find a method to reach the memory blocks of the devices as a USB HDD within OSes (just like in Ideos X5), then we will be able to do full backup and restores which is important in some situations as i described before. (But we may brick the devices easier also :D)

Please share your opinions.
[Atrix 4G Q&A, Help & Troubleshooting] palmbeach05:
Ok, i'm getting the drift of what you are trying to do now. For that, there is a thread regarding dual booting. I'll dig that up and give you the link. For that, we dd'd via adb in recovery. I'll need to dig into my files for a bit more specifics, but hang tight and i'll get you the info i know
[Atrix 4G Q&A, Help & Troubleshooting] Be-Mine:
Actually, my ultimate goal is not a multi-boot. I triple-boot in my PC but i was never eager of this in Android devices. If i had very large memory blocks (32GB,64GB) in my devices, i would try it already. But i think multi-booting may negatively effect the storage partitions on Ideos X5 and Atrix (especially the /system, /cache, /data partitions ?)

Anyway, i will check that link and informations based on dual booting Atrix, comparing CM7 vs CM10 easily on Atrix can be very interesting. :D

But my main concern is reaching the whole memory blocks of the devices within windows/linux directly as a USB-HDD, probably with the help of a hack or a patch.

Thanks for all :good:
[Atrix 4G Q&A, Help & Troubleshooting] palmbeach05:
Well the dual boot mentioning ties into the dd method.

This might be more up the alley of your main concern http://www.paragon-drivers.com/extfs-windows/

On a side note, dual booting on this device can be done on a 16GB sd card, but for space reasons (compensation for space lost to do dual boot), a 32GB is a bit more recommended for this, plus it adds a bit more memory in the process.
[Atrix 4G Q&A, Help & Troubleshooting] Be-Mine:
If only my issue was that simple, but unfortunately not. :D

The link you gave is of a basic software to work with linux file systems from Windows. I can already achieve this when needed, using similar software like Explore2fs, Ext2explore, etc.

But the case is very different. The whole memory block (disk) of the devices are not accessible as a USB disk within OSes (both Linux and windows, and also MacOS most probably) natively. The full disk is only accessible from ADB, or the phone itself. So native disk softwares can't be used, especially for full backup and

restore

purposes.

From what i understood from my researchs, "dd method" seems the Linux alternative to make sector based backups and restores. But even dd can't be used to

restore

the memory block. Because, to restore, we have to access the disk when the phone is not used , AFAIK.

That's why Huawei Ideos X5 "pink screen" option seems very rare, extreme and useful. Please take a look at the links i gave in my previous posts, you'll get what i mean.

Anyway, dual-booting Atrix is still another interesting issue to research for me. :)
[Atrix 4G Q&A, Help & Troubleshooting] PolesApart:
AFAIK you can't directly map the raw Atrix eMMC to a block device on Atrix, at least not via USB, using standard tools. And you definitely wouldn't want to do this in write mode (The tegra2 on Atrix has a strict boot protocol. It's so strict that IIRC it even requires an encrypted/digitally signed boot loader which resides on the beginning of the drive. AFAIK you can't even mess with partition table).

I guess you could use a custom recovery mod for doing that if all you want is to read the eMMC as a block. The linux kernel has a mass storage gadget which can expose a block device as an usb drive. You'd need to point /dev/block/mmcblk0 to it and voila (see for instance http://www.linux-usb.org/gadget/file_storage.html). Old android uses it for mounting your storage areas when you plug it to a host usb. Newer uses other methods as you need exclusive device access for safely writing to the storage partitions.

And as you can't have read-write partitions mounted while you're playing with the same block device, and AFAIK a recovery is fine with read only mounts, contrary to a normal android boot, you could go with it. But check that e.g. /data is mounted ro, some recoveries mount it rw by default.

I think there's a way to use adb in recovery, if you can get a root console via adb then you may be able to use a standard recovery to command the usb mass storage gadget without need to customize a recovery.

Btw, I think the usb gadget only exposes the device in read-write mode, so there's nothing preventing you or some application of attempting to write to the device, and this would probably be a bad idea. So watch out if you want to do that, people got hurt for doing less hacking :silly:
[Atrix 4G Q&A, Help & Troubleshooting] Be-Mine:
@PolesApart

Thanks, you encourage me to research deeper. :D

But, as you already mentioned, this kind of backup/restore seems very tricky. I would check other sources and try to find a way to achieve, but i lost my ambition regarding that i have no backup phones. And i don't have time and experience to struggle with such dangerous issues.

I'm still using this Atrix as a main phone. I hope to get a Z5 Compact soon. Maybe i can go on seeking info and tests when this Atrix becomes totally idle afterwards. :laugh:

Thanks for your interest and the informations. :good:
[General Topics] maru:
hi im looking fo a today plugin that can devide tooday screen into several tabs

check the cLaunch screens. Imagin this kind of tabs with diferent set of today plugins running inside. That way you can have a big clock and date in one tab, calendar+ in the other, shortcuts in the next one, todeynotes, tasks+, todaynotes, weather and many others full screen aps.

That would be weru usefull:) anyone seen this kind of thing?

i have Spb Mobile Shell now but its not exactly what im looking for.
[General Topics] hanmin:
You need to read more :)

Check out the last few page of this thread http://xdaforums.com/showthread.php?t=259932

there is this seemingly free software that does what you mentioned. Not sure how easy to conf, but it seems to support most today plugin.
[General Topics] maru:
yeeee - quick reply:) thanks friend:) now i now where to read;) i hope this is it;)
[General Topics] V J:
I tried that software PocketAGE... It works, but not quite: the today plugins inside a tab are placed on top of each other. I think I'm doing something wrong, but I just don't realize what...

Any thoughts?

Jörg
[General Topics] maru:
tap and hold at any emty spase and press "move/resize items" - you can move todayplugins around and resize them and also the icons! thats something :D !

i like this app but where to get this unlock key? that kick-ass.ru page is not about ppc's... any idea?

and the SPB mobile shell is out:) i will miss that finger freandly task manager... but "mortbuttons" has it also and its more costomisable:)
[General Topics] V J:
I didn't know it needed an unlock key, I just got it today from that referenced thread. Is it a time limited trial or so (I don't speak Russian,)?

The moving/resizing bit doesn't work: the today plugin is marked with a grey box, but I cannot do anything with it. :(

Jörg
[General Topics] maru:
Jörg

do you have a russian version of this app? mine is in English.

-----------

tap-hold that grey box -> tap properties -> uncheck the box: autoresize...

close

now you can see a duble frame on the right of the grey box - you can resize that plugin horizontaly by draging it.

-----------

in the "about" scren there is a place for a key - i dont know what does it meen:/

-----------

I would not say that app is wery stable anyway... sometimes its impasible to drag a plugin, sometimes the tab's outline disapears, sometimes a part of the screen disapears (softreset helps), and there is no button suport fot any plugins inside AGE - you can swich tabs by presing left and right but up/down dose not take you from one plugin to the next one (no button suport for plugins which normaly has it).

but its free :)

edit: after some time an dialog box pops up with a question - isnt it the time for you to donate?
[Galaxy Tab 3 Q&A, Help & Troubleshooting] Lunah_Zet:
Hi.

My laptop's hardrive died so i had to buy a new one and intall windows xp again. So far so good. But now that im trying to connect my tab to transfer some files, as i used to, i get an error of "MTP device failed installing" or something like that.

I researched about that and tried every possible sollution out there. The only thing that semi-works is installing Windows Media Player 10 (which is wierd bc i was using media player 9 before and the device worked well).

The reason i said semi-works is:

When i try to explore the files in it, it doesnt matter if its the internal or external memory, it opens a new screen with 2 folders. Media and Data. Whichever I click the system hangs while "thinking" and it doesnt un-hangs unless I kill the windows explorer in the task manager or unplug the device.

Sorry for the long post and my ugly english.

TIA
[X 2014 Q&A, Help & Troubleshooting] darkmaurice:
Hey there, i have a moto x 2014 and i was happy until yesterday when the display icon on menu app change, it change between on screen slide left to right and right to left but today it was like a long list from top to bottom. I search in internet and ask to many people and nobody can tell me where is the option to turn the menu back, even i contact the motorola support and they can't do too. So i ask for help in the most big forum that i know.

I have android 5.0.1 and not install any program in the last time, i am sure this is a configuration problem.

The next images are took from internet and i add figures to understand.

I can't post pictures, because i am noob in the forum.. :(

Example 1, the menu like was before :victory: :

oi59.tinypic.com/2s6mw5y.jpg

Example 2, like menu is now :crying: :

oi57.tinypic.com/211v5hh.jpg[/IMG]:

Please Help!!. Thanks a lot! :D
[X 2014 Q&A, Help & Troubleshooting] darkmaurice:
app drawer

i find it is called app drawer. By default it scrolling to the right or left, now is up/down :(.
[X 2014 Q&A, Help & Troubleshooting] jaypr9:
I posted about this in thread vertical scrolling. It was an update Google pushed out for the launcher. That's just how it is now. Android M style
[Galaxy S 5 Q&A, Help & Troubleshooting] stevey500:
Since running CM11-CM12.1, it seems the last few months that the camera app (or any other camera app) focuses terribly. I know for a fact that galaxy s5 models running stock firmware focus very well even in low lit situations, mine does not as long as it is booted up to CM.

I am curious if anyone knows if there has been firmware updates specific to the camera module of the t-mobile or all variants and if that can be flashed without having to install the entire stock firmware image to get those modules to update their firmware.

Does anyone else have focusing issues on their s5 in a non-stock rom? Focusing on an object 12" from the camera with plenty of contrast really struggles sometimes.
[Galaxy S 5 Q&A, Help & Troubleshooting] Comet1966:
I don't think you are supposed to post statements/questions in the development thread. But yes, I hate the way the camera is on CM, that is why I try and stay away. I use the camera too much to have to deal with it.
[Galaxy S 5 Q&A, Help & Troubleshooting] jujijoog:
You are so right. Its terrible.
[Galaxy S 5 Q&A, Help & Troubleshooting] rommy667:
Their is plenty of free camera apps that work great on cm 12.1 i use open camera and its great :)
[Android Q&A, Help & Troubleshooting] Rack d:
Help me guyes u just wanna port an iOS ROM for my mtk

"Honor holly"

Am beginner so please I need full tutoriol and explanations

;)
[Android Q&A, Help & Troubleshooting] Paget96:
From which device are you trying to port??
[Android Q&A, Help & Troubleshooting] raj_yash7136:
Htc desire 820g plus dual sim mtk6592 plz...
[Honor 6, 6 Plus Q&A, Help & Troubleshooting] marshall09:
Hello everyone,

I have a problem with my honor 6 plus.

I do the update to lollipop and emui 3.1, but i find that the battery life is worst.

Now i want to downgrade to kitkat, but i don't know how to do it.

I look in a lot of site without results.

PLEase help me:(:(:(

I'm desperate:D:D:D:D