yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4] P013onEr:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Hi. I build the AOSPAL for Xiaomi Mi4(LTE)

This version is UNOFFICIAL,but It's stable on my test.

About change log, I only write what I add or delete .the rest is same as PA's official release.

Installation instructions

1. Make a Nandoid Backup before all !
2. Be rooted
3. Have a custom recovery installed
4. Have flashed the Extended Partition Zip
5. Download the ROM
6. Download gapps (recommended: TK GApps ones)
7. Reboot into recovery and perform a full wipe (for the first installation. Dirty flash should work for updates)
8. Flash the ROM
9. Flash the gapps
11. Reboot and enjoy ! The first boot is longer than the others

Changelog

Add LockClock widget from CM
Add Supersu (thanks AICP)
Add LTE option for Mi4 LTE
Remove ParanoidAndroidOTA ( UNOFFICIAL doesn't need this)
Translate some strings to Chinese :cyclops:
Sync with PA's update

XDA:DevDB Information

ParanoidAndroid, ROM for the Xiaomi Mi 4

Contributors

P013onEr

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 1.0

Stable Release Date: 2015-07-23

Created 2015-07-23

Last Updated 2015-07-23
[Xiaomi Mi 4] P013onEr:
Sources:

https://github.com/P013onEr

Download link:

ROM : https://www.androidfilehost.com/?w=files&flid=35765 (last uploaded one recommended)

GApps : http://xdaforums.com/android/software/tk-gapps-t3116347

Thanks to:

Bitti09 and BaNks for providing their device and vendor trees

audahadi and TeamHorizon for the Kernel

SynnyG (Official cancro Maintainer)

CM

AICP
[Xiaomi Mi 4] pkb_always4u:
I dont if I should ask here, but do I need to re-partition the stock partitions as its needed for CM12? Thanks for your work.
[Xiaomi Mi 4] coolpixs4:
please, upload some screenshots for this ROM.

Does this ROM have sweep2wake function in kernel ?

How about battery consumption ?

Thanks!
[Xiaomi Mi 4] HidekiRyuga:
Let's try it shall we
[Xiaomi Mi 4] daColt:
any experience with this? Anyone like to share?
[Xiaomi Mi 4] shaz.mrd:
Unfortunately Setting has stop

Error show up, when clicked on battery icon in notification and in setting in battery option.

Every thing else is working fine.Just the first day of use,

Any fix for this the error and thank you for the rom
[Xiaomi Mi 4] enervo:
Excuse me for the question that may seem a bit absurd, but is there any problem in using this blunt in a 3G terminal?
[Xiaomi Mi 4] rreynaldo:
In this rom work ir blaster of mi4, and FM?
[Xiaomi Mi 4] chauhanjayc:
just wanted to ask for below three things if it works i wonna try this out

plz let me know

IR blaster

camera

FM
[Xiaomi Mi 4] P.Kosunen:
http://www.androidauthority.com/paranoid-android-calling-it-quits-648429/

Paranoid Android is dead, probably not worth trying anymore.
[Xiaomi Mi 4] murcianista:
Hi! this ROM dont will have more updates ???
[Xiaomi Mi 4] diongdyh:
Would you mind reading the post above you??
[Xiaomi Mi 4] murcianista:
oh!! thanks! sorry!

whats a pity ! :(
[Xiaomi Mi 4] akp.ajinkya:
After first boot,the data works but when I switch it off once and then switch on,it doesnt work neither in 2G nor 3G mode even after rebooting multiple times.Had to reinstall rom but same thing happens again.Whats wrong?
[Xiaomi Mi 4] ThePR7:
Here Maps Offline Working ?

Can someone check if Here Maps Offline is working and the GPS is locking properly ? It would be very helpful :)
[Sprint Samsung Galaxy S6] Toonlinkmaster25:
As soon as I rooted on ofe I tried to restore wifi access points which prevented wifi from turning on. I have tried restoring the previous access points, wiping cache & delvik, and flashing the kernel for root again. What else can I do without wiping data?
[Device Reviews and Information] Lt_Columbo_87:
Hi,

Site Mlais EU http://www.mlais-eu.com/

is intended for european users and customers

So there you will find useful information for Mlais products and other info

in a few days all will be done

Thank you
[Elephone P8000] cato`:
Has anyone been able to build this kernel from the p8000_defconfig ?

I've tried to build it with linaro, but failed (I'm a newbee though).
[Elephone P8000] skeleton1911:
i have ordered the phone. have to wait 3-4 weeks ...i will start developing for it soon :)
[Elephone P8000] charliepie:
that's great news! can't wait:)
[Elephone P8000] BlueFlame4:
Sounds great, I'm gonna do the same as soon as I get my device. Should be around 26th August - perhaps we could collaborate sometimes!

Greetz to Muenster - I grew up in Soest, lol
[Elephone P8000] skeleton1911:
Nice.

Werde eventuell drauf zurück kommen.

Maybe we will speak later

Gesendet von meinem HTC One M9 mit Tapatalk
[Elephone P8000] jott_st:
Tried to build the kernel as well. The sources seem to be incomplete, though. I'm pretty sure the MT6753 platform specific sources are missing. But might just be my lack of experience...
[Elephone P8000] BlueFlame4:
I was actually expecting some problems - we're still talking about MediaTek. What error message do you get?
[Elephone P8000] jott_st:
I don't remember. I think there were missing dependencies. So I tried to use the provided build.sh and there was a reference to ../mediatek/build/shell.sh. Google lead me to this git-repo: https://github.com/wiko-sources/cink-slim ; I figured we might need the same folder structure for the MT6753.
[Elephone P8000] D4RE:
I succeeded in building the Kernel with the aarch64-linux-android-4.9 toolchain and the p8000_defconfig.

To make it work, I only had to do a few minor changes:

-The p8000_defconfig file somehow has a trailing whitespace... I don't quite get why there is a whitespace there, but this isn't really a problem

-A few of the files in drivers/misc/mediatek have a few include errors. Mostly <> was used instead of "" to reference a local header file, changing this fixed all but one problem.

-In drivers/misc/mediatek/dispsys/mt6735/ddp_dsi.h there is a reference to "fbconfig_kdebug_k2.h". But the referenced file is not in the same directory. Changing the include to "../../videox/mt6735/fbconfig_kdebug_k2.h" did the trick.

Sadly, the Phone is not there yet so I couldn't test anything and I'm also a newbie concerning Android development. But I hope this might help someone.
[Elephone P8000] skeleton1911:
Thanks . saves me a lot time:)

I hope i get the phone. I bought it via comebuy. Someone knows that side?

Gesendet von meinem HTC One M9 mit Tapatalk
[Elephone P8000] BlueFlame4:
Yep, I also ordered it there. They told me it will arrive around 26th of August.

Thanks a lot [MENTION=2160392]D4RE[/MENTION]!
[Elephone P8000] skeleton1911:
Me too. But they told me that is is available at the 31th of August . it will be send from a german central warehouse..

Gesendet von meinem HTC One M9 mit Tapatalk
[Elephone P8000] Clust3r:
Thank, save me a lot of time too.

After compile, repack + flash.

Phone boot up, without SIM Card slot detected. Both SIM Slot 1 & 2 missing.
[Elephone P8000] BlueFlame4:
FYI: There are now shipping dates listed on their site. http://www.comebuy.com/handys-om000391.html
[Elephone P8000] skeleton1911:
Storniert. Lol

I ordered it from amazon. They send it me last Thursday. . rooted it already its really nice phone.

Soon I will start to build my custom ROM :D

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] jott_st:
I can't get it to boot at all. :( How did you do it? Do we need to add the meditek kernel-header?
[Elephone P8000] Brewn:
I had a quick look at the sources - there seems to be a lot of stuff in there that is definitely not needed on the P8000. Different architectures and drivers for components that are not present in the P8000. Is this some kind of generic kernel they use in different configurations for all their phones?
[Elephone P8000] Clust3r:
Using abootimage tools for upgrading kernel in the original boot.bin file.

abootimg -u boot.img -k P8000-Kernel/arch/arm64/boot/Image.gz-dtb
[Elephone P8000] jott_st:
yep, I think so, too.

Thanks, I'll try that.
[Elephone P8000] Brewn:
So it might be a good idea to remove all the stuff that's not needed to keep the kernel and modules small... this is probably a lot of work though.
[Elephone P8000] :
Even after you have filled in the form you see a pop up that says in Chinese ?
[Elephone P8000] BlueFlame4:
So I received my P8000 yesterday (finally!) and started to gather information. As far as I can tell the option "fastboot boot *image*" behaves differently than on Qualcomm devices which means that I can't simply test kernel images without flashing it. Has someone already found a way to get it working?
[Elephone P8000] skeleton1911:
make a zip with an updaterscript weith this line.

so you can flash it via recovery

assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "bootimg"),
delete("/tmp/boot.img"));
#assert(run_program("/system/bin/dd", "if=/dev/zero", "of=/proc/driver/mtd_writeable", "bs=3", "count=1"));
[Elephone P8000] BlueFlame4:
Thanks for your answer! Actually flashing is also possible via fastboot but not booting so I guess that's not quite what I'm looking for.

BTW: How's your developing progress going on?
[Elephone P8000] skeleton1911:
Have some problems with the system permissions and deodexed file... But i will figure it out :D

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] vickdu31:
Hi, do you think it would be hard to build CM 12.1 from source ? Since you have kernel code, there shouldn't be so many problems ?
[Elephone P8000] Mixermachine:
Hello from Germany ;)

If there is fast charging support + undervolting support for the P8000 in a custom kernel it would be a instant buy for me.

I also would donate 8 dollars or a meal (if you come to Munich ^^) to the developer.

One thing:

Is there a hardware difference between the 16GB vs 64GB Version (needs the custom rom/kernel to be modified?)

I might also start developing :)
[Elephone P8000] BlueFlame4:
There is no 64 gig version but I'd be more than happy if you started developing as well. Sorting all things out on its own is kinda hard sometimes ;)

Device Tree so far: https://github.com/visi0nary/android_device_alps_k05ts_a
[Elephone P8000] zombiegoaste:
Hey, I notice you disable selinux with just "selinux=0"

Does "enforcing=0" also work for Elephones? I'm trying to get an Elephone (a different one, but I bet they share a lot, lol...) to start booting as "selinux permissive" and only move to enforcing way later, but so far I can't for the love of me figure out how to do it (androidboot.selinux=permissive does nothing , like goggles)
[Elephone P8000] BlueFlame4:
androidboot.selinux=permissive seems to be useless, right. I haven't tried enforcing=0 and will do so soon. I'm currently moving my system to a bigger SSD before starting again.
[Elephone P8000] :
True octacore XD. Where is the support for octacore in this kernel?
[Elephone P8000] zabique:
Elephone P8000 source code update

Published: 2015-11-02

Elephone P8000 source code have been updated. Please check https://github.com/elephone-dev/P8000-Kernel

[IMG="P8000"]http://www.elephone.hk/ueditor/net/upload1//6358205929683424726221319.jpg[/IMG]
[Elephone P8000] Perseus:
Thread consolidated into http://xdaforums.com/elephone-p8000/general/elephone-p8000-source-code-update-t3239736
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] edward_81:
Hi,

I want to gain root access on my device but i can't find info for this specify device and i don't want to make a mess.

This is the data from the information menu under option.

Model: Xenon 101c
Android: 4.4.2
Base band: MOLY.WR8.W1315.MD.WG.MP.V35, 2014/03/27 19:58
Kernel: 3.4.67
Build number: HT7.101.AKS.KK.B18.WXGA.1G.16G.LVDS.1101.V3.10
Build version: HT7

This should be a Gen10 tablet. I read of a custom archos firmware that enable root access but one time i tried to boot on recovery and everything was write in chinese :mad:

edit: Sorry i ended up posting on the wrong section. Is too hot here.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] momojuro:
You can try with Kingo ROOT, it worked for some Archos Xenon 101's users :)
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] edward_81:
It worked thanks! I always feel suspicious when i find miracle exe/apk on google :p
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] momojuro:
I know that feel ! :D

Glad that I helped you ! Don't hesitate to ask something, if you need to. :)
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] mattia952:
can i have a kingoroot download link for my archos 101c xenon?

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] Sepehr619:
hi

tired to flash other roms i flashed cm12 unofficial but when i turn on phone and press the power butten it will reboot:|

the message app always stops

and the music app too

wifi not working

and...

i want to fix wifi problem to update it with cyanogenmod ota updates

what should i do?
[Galaxy S II Q&A, Help & Troubleshooting] BenjyTec:
These problems may are bugs of your ROM? Which ROM are you using? I recommend this one:

http://xdaforums.com/galaxy-s2/development-derivatives/rom-cyanogenmod-12-t2955551/post57100306

Gesendet von meinem GT-I9100 mit Hilfe von XDA Forums Pro.
[Galaxy S II Q&A, Help & Troubleshooting] Sepehr619:
THX for your response

but when i connet device to odin via downloadmod odin not reconized it

and this rom does not have a recovery!

so iwant a way to fix the wifi problem and update it via ota
[Galaxy S II Q&A, Help & Troubleshooting] BenjyTec:
Some more experienced users say installing another kernel might help, because WiFi drivers are included in kernel... But difficult without Odin... Perhaps check out the thread about Odin connection problems:

http://xdaforums.com/showthread.php?p=43132016

Or try the Flashify app or Mobile Odin from Play Store for flashing another kernel. Hope this helps. I'm not a pro, but better any answer than no one :)

Gesendet von meinem GT-I9100 mit Hilfe von XDA Forums Pro.
[Galaxy S II Q&A, Help & Troubleshooting] Sepehr619:
wich kernel do you think is best
[Galaxy S II Q&A, Help & Troubleshooting] BenjyTec:
I can't especially recommend one, because I didn't install one yet. But search for Dorinmanx or Gustavo's kernel. Those are the most used kernels I think.

Gesendet von meinem GT-I9100 mit Hilfe von XDA Forums Pro.
[Galaxy S II Q&A, Help & Troubleshooting] Sepehr619:
thx

now i want back to the stock rom

what should i do?
[Galaxy S II Q&A, Help & Troubleshooting] Saber:
If you want to go back to stock rom, you will have to download the stock rom if you haven't already from sammobile or any other similar website. You will have to flash the file with ODIN then factory reset. (You can brick your device if you have brickbug affected chip and unpatched rom like some ICS firmwares, 4.1.2JB is the android version you want to downgrade to).
[Galaxy S II Q&A, Help & Troubleshooting] Sepehr619:
thx for your response

i know how to do it

my problem is odin not recognizing my phone in download mod

what should i do
[Galaxy S II Q&A, Help & Troubleshooting] BenjyTec:
I think there's no other way than flashing another kernel, for example with Flashify. Most kernels also include a recovery. Then it is simple to flash the stock ROM via recovery (if you have the ROM as a zip file).

Hope this helps.

Gesendet von meinem GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] Sepehr619:
thx for you response

i flashe this:

http://xdaforums.com/galaxy-s2/deve...d-12s-os12-t3089916/post62094237#post62094237

wifi works in the first boot

but after a reboot wifi not works:rolleyes:
[G3 Q&A, Help & Troubleshooting] Blackfox123:
Looking for a little help...... I have a rogers lg g3 and I was told it was on lollipop.. Now my problem is that I can't access the (settings/about phone) without it telling me (unfortunately settings has stopped working) my question is has anyone had this problem and is it possible to fix it? Please anyone
[G3 Q&A, Help & Troubleshooting] Deleted member 5530936:
A factory reset usually fixes those sorts of problems.
[G3 Q&A, Help & Troubleshooting] Blackfox123:
That's what I thought as well so I did a factory reset and a hard reset with the same outcome... Everything in the settings can be accessed except the (about phone) so I'm completely lost on what to do
[G3 Q&A, Help & Troubleshooting] Deleted member 5530936:
I think it's best you send it back to where you got it then and let them have a look. Otherwise you could try flashing your original firmware again incase your current one has missing components.
[G3 Q&A, Help & Troubleshooting] Blackfox123:
Send it it back is definitely not going to happen cause I've tried that lol... But to flash the firmware wouldn't I need USB debugging checked? I hope not cause i can't get to it and is there any tutorials that could give me a step by step instructions?
[G3 Q&A, Help & Troubleshooting] Deleted member 5530936:
This is the guide I use when flashing my stock ROM. Link

If you live outside the US then use the KDZ method.
[Nexus 6 Q&A, Help & Troubleshooting] wonkytalk:
The situation: I can no longer download Project Fi ("Your device is no longer compatible with this version") app on my Nexus 6.

Here's a quick rundown of what happened:

Rooted my phone following instructions from Androidrootz

Decided I preferred maintaining factory settings

Followed the steps for unrooting from Androidrootz

Something appears off and I'm not back in the factory state; for one, I can't install Project Fi app

Tried following steps from Google on installing the latest factory image

Contacted Project Fi support and they respond that they can't provide support for rooting or flahsing phones

Tears and cries of "Why God, why?!"

Can someone please help me? I'm completely out of options and totally outside my element here.
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
First, grab the Project Fi factory image (LVY48C) from here:

https://developers.google.com/android/nexus/images

Then, follow method #2 for installation here:

http://xdaforums.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008

Good luck!
[Galaxy Tab S Q&A, Help & Troubleshooting] 5310:
Samsung Tab S 8.4, bought about 3 months ago in uk from john lewis.

I had kitkat and rooted to be able to disable bloat etc to try and increase the battery life. Battery was still draining much faster than other devices, but in accordande to what a lot of people were reporting. Got used to charging it up every day.

So I got the official lollipop update, using kies, and left as stock was seeing same ballpark battery draining. Before I could get around to modifying the lollipop build the tablet started restarting. At first this was when the battery level would drop below 50% but quickly this turned into repeating boot loops. I was careful to try and be gentle with it in case the battery connection was loose, but the boot loops got quicker. In the end it would not stay on.

Here is how I fixed it. Tried factory reset, no good. But at least knew it wasnt software as had default lollipop image, plus it worked find when connected to the charger. So I didint have time to send it in to samsung for repair as due to travel, so used you tube help to open the cover and simply removed and disconnected the battery, then replaced it. Note that the battery is lightly glued in, so needs some light force to peel it out of the cavity - thats not shown on you tube.

Anyway, checked it didnt boot loop, and it was stable, so charged it up fully. Guess what? I have a much much slower draining battery now. I have manually reloaded my apps from play store (not a kies restore) and performance is the same ie the slower than original battery drain.

I don't know if they modified something between lollipop and kitkat that needed to see a hard reset to trigger or if its something peculiar to the battery requiring to be disconnected independent of the operating system, but just wanted to share and report here as this forum has been so helpful to me.

I am in UK (for lollipop version)
[Galaxy Tab S Q&A, Help & Troubleshooting] Tinderbox (UK):
Refitting the battery might make the tablet think it is getting an new battery so it is forced to do an re-calibrate.

Yesterday a owner said when he took is S to a Samsung service centre, he was told the battery connectors were fault, and they replaced it with a more heavy duty version.

Also he was told upgrading to lollipop can cause problems, though i don't see how that is possible.

John.
[Galaxy Tab S Q&A, Help & Troubleshooting] 5310:
Makes sense on battery recalibration from disconnect, but would that affect the lower drainage rate? Maybe lollipop is better optimized for the 8.4?

I just now turned on power saving, where it was on before with kitkat. Still much more time on standard lollipop than kitkat here. Not going to bother debloating it...
[Galaxy Tab S Q&A, Help & Troubleshooting] Tinderbox (UK):
Yesterday and today, owners of the 8.4" have reported problems with the battery connector, on repair Samsung replaces the original with an more heavy duty version, some people recommend soldering the battery directly to the motherboard, (not me)

John.
[Galaxy Tab S Q&A, Help & Troubleshooting] Beut:
Nothing is more heavy duty battery connector, they all are the same. Repair center just do a re solder job as this battery connector is prone to crack in most of Samsung tablets.

Read all Samsung tablets, different models and sizes, they all have the same problem but most average users are not able to see it, they need microscope at least at 20X to 40X to see the cracks. Magnified glass at 10X won't be able to see this kind of crack of solder joints.
[Galaxy Tab S Q&A, Help & Troubleshooting] Tinderbox (UK):
Well i suppose the owner was lied too by Samsung, as he says in the link below that they installed an thicker connector.

http://xdaforums.com/showpost.php?p=61977890&postcount=509

John.
[Galaxy Tab S Q&A, Help & Troubleshooting] Beut:
A permanent fix : re solder the battery connector.

A temporary fix : put a thick piece of paper on top of the battery connector, secure it with a tape. A direct pressure on the back cover will temporary close the gaps of cracked solders. This temporary fix only works with a not badly cracked battery connector. A badly cracked one is the connector that you can lift it off the main board easily or tap hard on the back cover, your tablet shuts down immediately.
[Galaxy Tab S Q&A, Help & Troubleshooting] ashyx:
I tend to agree, it's unlikely they did anything but resolder. If it's happened on previous devices why would they still be using the same connector if they had a beefed up version?

In any case the connector is non mobile so it makes no difference as long as its securely soldered it should be fine.

There are much flimsier components and connectors in devices nowadays that don't give issue.
[Galaxy Tab S Q&A, Help & Troubleshooting] 5310:
The connector to the circuit board looked beefy enough and it didn't feel loose in any way....its the female socket soldered onto the circuit board that you all are describing?

I'll keep an eye out of course, but so far same great performance, much better than when out of the box new