yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] andrew_jackson:
My old trusty P8000 stopped reading it's sim card and I have to get a new phone, so I thought this would be the perfect time to do a little hacking on it.

I'm a total noob to android, I've managed to root the phone and install CWM.

I've also cooked up a custom rom in android kitchen, but I'm having some problems passing the proper mount command to the update-binary.

My updater script reads:

format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "/dev/block/mtdblock5", "/system");
show_progress(0.500000, 0);
package_extract_dir("system", "/system");

When I run the update.zip in CWM it comes back with installation complete, but the log says unmount of system failed: no such volume.

Does anyone know the proper mount commands for these old MTD flash drives?

Yes I'm sure the "system" partition is /dev/block/mtdblock5

~ # cat /proc/mtd
dev: size erasesize name
mtd0: 008c0000 00040000 "boot"
mtd1: 008c0000 00040000 "recovery"
mtd2: 00f00000 00040000 "fota"
mtd3: 09880000 00040000 "cache"
mtd4: 002c0000 00040000 "persist"
mtd5: 0e940000 00040000 "system"
mtd6: 00280000 00040000 "splash"
mtd7: 20a00000 00040000 "userdata"

The format command only works if I use:

format("yaffs2", "MTD", "system");

It doesn't work as:

format("yaffs2", "MTD", "/system");

Something to do with the MTD partition table being hardcoded into the kernel.

Also, is there any way to view CWM installer logs other than from the advanced menu on the phone. I'm only able to see the last few lines of the log, and it doesn't give me any clue why "/system" doesn't mount.

Thanks for any advice you can offer.
[Android Q&A, Help & Troubleshooting] andrew_jackson:
Ok, I fond the answer in this thread http://xdaforums.com/showpost.php?p=17594598&postcount=30

mount("yaffs2", "MTD", "system", "/system");

:laugh:
[P8lite Android Development] jabonloco:
great thanks!

do you know where can i download lollipop for ale-04? i cant find anything
[P8lite Android Development] maximil_98:
when TWRP2.8.7.X for the Huawei P8 Lite (ALE-L21)?

can I use this for ale-21?
[P8lite Android Development] jabonloco:
http://xdaforums.com/p8lite/development/testing-twrp-2-8-7-x-huawei-p8lite-qcom-t3187758

its right afther this thread
[P8lite Android Development] foltz61:
I normally temporarily boot twrp via fastboot boot first to make a complete system backup. I couldn't get a complete backup this way because recovery isn't part of the backup options.
[P8lite Android Development] thenameisnigel:
It isn't part of TWRP for other devices either. Recovery can be backed-up with dd.
[P8lite Android Development] foltz61:
I did not know that obviously :). TWRP was able to on every device I've ever had. Thanks
[P8lite Android Development] thenameisnigel:
No problemo. :)
[P8lite Android Development] kimtyson:
http://consumer.huawei.com/us/support/downloads/index.htm
[P8lite Android Development] sockey:
How do you apply this .rar file to update to lollipop?
[P8lite Android Development] kimtyson:
You unzip the rar. Place the Dload folder on your device. Shutdown device. Hold volume up and volume down and also power until it boots to the update screen then release buttons. **This will delete your data.** Make a back up.

This might help, http://consumer.huawei.com/us/support/manuals/detail/index.htm?id=54926.

Oh, you're welcome by the way.

---------- Post added at 10:24 AM ---------- Previous post was at 10:17 AM ----------

This is even better than my pidly attempt.

https://community.gethuawei.com/sup.../10/14/p8-lite-android-l-update-now-available
[P8lite Android Development] jabonloco:
check this http://xdaforums.com/p8lite/general/lollipop-5-1-stock-rom-update-ale-l04-t3226187

Download links are dead, can you please fix it? thanks
[P8lite Android Development] thenameisnigel:
Download link is updated. :)
[P8lite Android Development] jabonloco:
thanks!!

how about root? do you know something?

can't find anything yet

edit__________________

just made it, installed supersu thru twrp and i have root acces now
[P8lite Android Development] claudiuslu2011:
anyone know how i unlock the bootloader on the phone?
[P8lite Android Development] aniancito:
Hello,

I tried to root the phone several times without success.

Could you explain how to flash the TWRP without the flashify app?
[P8lite Android Development] mine420:
When you unlock the bootloader. you have to make sure that developer options are enabled. Then inside the dev options you need to enable usb debugging and as well as OEM unlock.

1. Boot phone into fastboot

2. open cmd prompt as admin

3. cd to folder location where fast boot is.

4. copy the twrp.img to the same folder where fastboot is.

5. type fastboot flash recovery twrp.img

6. fastboot reboot

--------------------------------------------

to install root reboot the phone holding both + and - volume buttons at the same time to reboot into twrp and flash the beta zip of super su. after that you should be able to do with your phone what you please.

https://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip
[P8lite Android Development] jabonloco:
You have to do this:

1- make a folder in your sd called "dload"

2- unzip trasfer package (kk to LL) and put the update.app on the folder "dload"

3- shutdown your phone, then press volume + and power till it start installing the transfer package

repeat all 3 steps but using the LL file.
[P8lite Android Development] narigondelsiglo:
I'm having troubles with the download... is the link really up?

it throws a 404 error
[P8lite Android Development] mine420:
The link from post #12 is what worked for me. The link on the main post is still 404 but you can verify the md5 sums and they are they same file.

https://basketbuild.com/filedl/devs?dev=TheNameIsNigel&dl=TheNameIsNigel/PACMan/alice/twrp.img
[P8lite Android Development] guest_2011:
Any hope for rom development for p8 lite or is it impossible? I'm new to this brand/model.
[P8lite Android Development] guest_2011:
After unlocking BL and rooting, were you able to remove the stupid UI or is it permanently embedded in lollipop? I can't stand it.
[P8lite Android Development] bmwkeith:
I installed twrp., and I can boot to twrp, but it won't respond to any screen inputs.
[P8lite Android Development] jabonloco:
detele
[P8lite Android Development] thenameisnigel:
[MENTION=4544908]jabonloco[/MENTION]

I'm going to kindly ask that you remove this link from the thread and not mirror my build since the link works fine. Thank you.
[P8lite Android Development] jabonloco:
ok, just posted it because they are asking me for a working link sice yours are dead
[P8lite Android Development] SomeGuyInOz:
Did you have any luck making a full, clean system backup including

stock recovery

? I really want to make a backup of the stock recovery before I install TWRP. Any tips on how to do this with dd on our phone?
[P8lite Android Development] foltz61:
Can't remember how I did it :). I think I booted TWRP temporarily and flashed supersu. Then used Rashr - flash tool to back up stock recovery
[P8lite Android Development] SomeGuyInOz:
Ok, I've just done the same thing. But because I didn't totally trust Rashr, I also used dd. In case anyone else is wondering, the recovery partition is /dev/block/mmcblk0p20. I checked the file hashes of my manual backup and the Rashr backup and they were both the same. So I hope if I ever need to restore the recovery partition to stock that it will work. I get nervous with this stuff because I'd hate to brick my phone! The main reason I wanted the stock recovery was just in case I ever want to do an OTA update later.

For anyone interested, here is a list of partitions for the Huawei P8 lite (ALE-L04):

lrwxrwxrwx root root 1970-04-16 13:31 DDR -> /dev/block/mmcblk0p4

lrwxrwxrwx root root 1970-04-16 13:31 aboot -> /dev/block/mmcblk0p7

lrwxrwxrwx root root 1970-04-16 13:31 boot -> /dev/block/mmcblk0p19

lrwxrwxrwx root root 1970-04-16 13:31 cache -> /dev/block/mmcblk0p21

lrwxrwxrwx root root 1970-04-16 13:31 cust -> /dev/block/mmcblk0p22

lrwxrwxrwx root root 1970-04-16 13:31 fsc -> /dev/block/mmcblk0p15

lrwxrwxrwx root root 1970-04-16 13:31 fsg -> /dev/block/mmcblk0p13

lrwxrwxrwx root root 1970-04-16 13:31 hyp -> /dev/block/mmcblk0p2

lrwxrwxrwx root root 1970-04-16 13:31 log -> /dev/block/mmcblk0p17

lrwxrwxrwx root root 1970-04-16 13:31 misc -> /dev/block/mmcblk0p10

lrwxrwxrwx root root 1970-04-16 13:31 modem -> /dev/block/mmcblk0p14

lrwxrwxrwx root root 1970-04-16 13:31 modemst1 -> /dev/block/mmcblk0p11

lrwxrwxrwx root root 1970-04-16 13:31 modemst2 -> /dev/block/mmcblk0p12

lrwxrwxrwx root root 1970-04-16 13:31 oeminfo -> /dev/block/mmcblk0p9

lrwxrwxrwx root root 1970-04-16 13:31 pad -> /dev/block/mmcblk0p8

lrwxrwxrwx root root 1970-04-16 13:31 persist -> /dev/block/mmcblk0p18

lrwxrwxrwx root root 1970-04-16 13:31 recovery -> /dev/block/mmcblk0p20

lrwxrwxrwx root root 1970-04-16 13:31 rpm -> /dev/block/mmcblk0p5

lrwxrwxrwx root root 1970-04-16 13:31 sbl1 -> /dev/block/mmcblk0p1

lrwxrwxrwx root root 1970-04-16 13:31 sec -> /dev/block/mmcblk0p3

lrwxrwxrwx root root 1970-04-16 13:31 ssd -> /dev/block/mmcblk0p16

lrwxrwxrwx root root 1970-04-16 13:31 system -> /dev/block/mmcblk0p23

lrwxrwxrwx root root 1970-04-16 13:31 tz -> /dev/block/mmcblk0p6

lrwxrwxrwx root root 1970-04-16 13:31 userdata -> /dev/block/mmcblk0p24

Note: the reason I didn't trust Rashr was because it appeared to work the first time i used it, but when I looked at the log I realised that there is no way it could have worked because I had not installed BusyBox and there were a bunch of errors (dd not found, etc). That should have thrown an error or alerted me to a problem, but it didn't.
[P8lite Android Development] haky 86:
I got the P8 Lite coming from s2 plus, if want to make a cm12.1 for this phone where can i found repos?

Thanks in advance.
[P8lite Android Development] noX1609:
The question with the full backup is interessting for me too.

Could you explain, how i can do this?

I read your post, but you mentioned you used dd to do it and because i'm new to the whole android world, i don't know what dd is/what it stands for.

So it would be really nice of you if you could explain to me what i have to do to get the Full backup before flashing TWRP or if you have a link to a tutorial for doing it i would be happy for this. Is the full backup possible without rooting first? Because i only found something looking complicated but this was for windows (i'm using OSX) and only rooted devices, so i hope you know how to do it without rooting so i have a backup of an untouched system.

And another question would be if there possibly will be a release of TWRP 3.0.0 for the P8Lite and does this version here (2.8.7.x) will work with Android 6.0 beta installed on the device.

EDIT: I managed it to root the device and install rashr and busybox but when i try to create a backup hitting the plus symbol it asks for a name and when i tap on go it stocks for less than 1sec and then shows me the empty list of backups.

Manually making a backup of the whole system worked but the file is about 8GB and i can only transfer files not larger than 4GB, so how have you managed it to get the backup? I'm playing around for about 3 hours now and can't get it to do a backup from my device that i can transer to my mac to save it.
[P8lite Android Development] moonlightdrive:
Hi [MENTION=4960802]thenameisnigel[/MENTION] first thx for your job. I have seen in GitHub that you were working on the ALE-L04 Alice, my question is if the sources provided by Huawei (kernel emui 3.1 Android 5.1) are enough for build a functional rom and my other question is if there is any chance to build a functional rom (CM based, for example) for this device, i have knowledge about UNIX, but i never built a ROM (and I 'm interested in it). i ask this to you because I have seen that you have worked on this device. Thanks in advance.
[P8lite Android Development] Fedroid:
Yes, I use a p8 Lite.

I have used another tool to deoex ROM and now all is working fine and the method is easier.

I will write a tuto Asap when I have time.

Greetings
[P8lite Android Development] jmc4str0:
Hello! The download link is dead! upload again, please!

Thx
[P8lite Android Development] TomJ2:
Same issue here. DL link is dead. Another hosting site??
[P8lite Android Development] sockey:
The TWRP device page does not have the P8 lite as a supported device. is there a TWRP recovery img file available that works? the img I have installed is not responsive as was mentioned above by some.
[P8lite Android Development] pottyvick:
Here is the link to the TWRP file... https://dl.dropboxusercontent.com/u/37441784/Tools.7z
[P8lite Android Development] Rrtyui:
Dead Link

The Link's dead. :(
[P8lite Android Development] joeroyhud:
working link?

Is there a working link to TWRP recovery for the ALE-L04 Lollipop? I'm not having any luck finding one.
[P8lite Android Development] claudiuslu:
why bother? there are no custom roms for the US version
[P8lite Android Development] Vinnipinni:
There is an official nightly build of cm13 I think.
[P8lite Android Development] claudiuslu2011:
i dont see p8 lite, only honor 4. can you get me a link? thnaks
[P8lite Android Development] thenameisnigel:
Fixed link for future requests. This recovery will not be updated any further though.
[P3300, MDA Compact III General] HPJ:
Hi

Anyone know of any decent (and free) units of measurement converters? For length, temperature, weights etc.

I've seen a few out there, just wondering if there was an industry standard type.

Thanks

HPJ
[P3300, MDA Compact III General] tmohammad:
Try One-Calc Lite. (www.omegaone.com). Dont know if they still have the free lite version.

Its an awsome calculator and has lots of additional features including conversions.
[P3300, MDA Compact III General] HPJ:
Many thanks!
[P3300, MDA Compact III General] nkmnkm:
Calc98

Calc98 is free and excellent. Download it here

http://www.calculator.org/download.html
[Sony Xperia M5] ykphuah:
Found out that there's a FMTransmitterService (com.mediatek.fmtransmitter) that is running on the phone, but couldn't find any feature on my phone to transmit via FM.

Anyone know anything about this?
[Sony Xperia M5] ykphuah:
With QuickShortcuts, I even managed to launch the FMTransmitterActivity.

View attachment 3485295

It even have a notification, and it correctly mutes the speaker!

View attachment 3485296

However, can't get anything on my FM receiver though.
[Sony Xperia M5] Ketansa:
Hello,

You did not tell- how you managed to get to run the FM Transmitter interface.

There are a lot of undocumented mystery goodies about this phone. The sound is top notch premium too, and they explain it no where in the specifications.
[Sony Xperia M5] ykphuah:
I installed this app called "QuickShortcuts", and then look for FMTransmitter, then select the FMTransmitterActivity, try it!
[Sony Xperia M5] ykphuah:
After I upgraded to 1.33 version of the firmware, the service is gone. :|
[Sony Xperia M5] Ketansa:
Hello,

Yes I see the service is gone. I think they are reserving something for business.

They read these forums I believe.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] itdr:
hi!

how can disable notifications to from the tablet?

i know that theres the "blocking mode" option, but it'll mute only the basic apps, and not all the 3rd party apps.

is there a simple wayto disable them?

thank you!
[Moto G 2015 Q&A, Help & Troubleshooting] asrupesh:
Guys I am getting this unwanted ad pop up every few minutes I don't know which app is causing it....
[Moto G 2015 Q&A, Help & Troubleshooting] bobbyphoenix:
Try one of the airpush detectors from the Play Store.

https://play.google.com/store/apps/details?id=com.lookout.addetector&hl=en

https://play.google.com/store/apps/details?id=com.appspot.swisscodemonkeys.detector&hl=en

https://play.google.com/store/apps/details?id=com.brosmike.airpushdetector
[Moto G 2015 Q&A, Help & Troubleshooting] asrupesh:
I tried this already.. and also removed all apps with ads still it popsup... so i wiped everything...
[Moto G 2015 Q&A, Help & Troubleshooting] HelpMeruth:
Next time don't download things from the web you dont know :)
[Moto G 2015 Q&A, Help & Troubleshooting] asrupesh:
I use same apps in all my smartphones.. But this problem occurred only in this mobile...
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Healiesplox:
Hey guys,

I did a king root a while ago on the kindle HD 6". I went to restore it without giving the proper 2nd loader. I currently, can't get it to boot into fastboot mode. I same day aired a new stock cable from amazon, and am unable to get it to boot into fastboot mode, any suggestions?

When i try to use KFFirstaide64 It gives me " Connection to UI timed out" .. Any suggestions or direction to go with? I need to restore the kindle because it's stuck in a Select language loop. Any more info needed lmk i'll respond asap.

edit* Windows 10 x64
[7" Kindle Fire HD Q&A, Help & Troubleshooting] bangdosa:
HD 6? or do you mean HD 7 (2012 version)? fastboot cable isn't a stock amazon cable, its a modified micro usb cable, that tells it to boot to fastboot. just search kindle fastboot cable on ebay, shouldnt cost more than $10
[7" Kindle Fire HD Q&A, Help & Troubleshooting] Healiesplox:
okay cool, I just ordered a fastboot cable. The only difference i know between the 7'' and mine that is labeled a 6 is a difference in the screen size/resolution and a 1.5 ghz processor instead of a 1/2 ghz..

thanks for your response.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] bangdosa:
looks like there is a hd 6 model which is 4th gen (2014) this part of the fourms is for second gen (2012) models if i am correct. go find kindle fire hd6 section of XDA and post a Q there, they might be able to help you .
[G Pad 8.3 Q&A, Help & Troubleshooting] couldnthinkaone:
I've searched everywhere and cannot find it. I bought a used LG G Pad GPe and it wont update. any help is appreciated
[G Pad 8.3 Q&A, Help & Troubleshooting] -MX-:
This will get you back to a completely stock condition.

http://xdaforums.com/showthread.php?t=2910570

If any part of your system is modified, the install will fail. That link will get you back to a completely stock condition where you can install ota updates again. If you have a custom recovery, there is a thread containing the TWRP backups of the latest android backup to get you updated.
[Asus Padfone X and S] m_loaiza:
Hello friends in all sub-forums exist some post about this, for that reason I decide to create it for us. This is my current style, stock launcher with orbis icon packView attachment 3483082View attachment 3483083

Enviado desde mi ASUS_T00N mediante Tapatalk
[Asus Padfone X and S] HEZAiKU:
Hyperion Launcher with Icon pack from Theme for ROG Phone 2.
[Nexus 4 Android Development] brandonabandon:
Since YouTube videos won't play https://youtu.be/DUb9FZdc-NM view this link for a screen recording of the active ROM.

Apparently mako is officially supported by brokenpop team. The team is allowing me to host my build however. This means after installing this ROM, at some point, users should receive update notifications as official ROMs are pushed. Feel free to flash official. I will be updating as frequently as official. My personal builds will be hosted on this thread. I will not be responsible for users/issues hence flashing official brokenpop ROM. The google+ page is linked [MENTION=270407]Post[/MENTION] 4 for official brokenpop q+a, etc.

****************************************************************************************

brokenpopv3.9

ive included my personal build of chromium compiled with ubertc exclusively. its not working oob. to use it, install titanium backup, tick backup, and backup chromium. uninstall the app via settings, broken pieces, system app remover, tick chromium, then tick the garbage icon at the bottom screen. open titanium backup tick backup, tick chromium, tick restore, then tick "app only." profit.

NEW FEATURES

blur lockscreen

navigate to settings, brokenpieces, lockscreen

noticification light control

navigate to settings, sound and notification, notification light, tick use custom values
[Nexus 4 Android Development] lightninbug:
Is this ROM broken?
[Nexus 4 Android Development] brandonabandon:
No. Its brokenpop rom. Previously brokenos. This is a link to the broken g+ https://plus.google.com/communities/116521990967962635243 page.
[Nexus 4 Android Development] str3tch72:
Any feature list/screenshots?
[Nexus 4 Android Development] kevinnol:
Always good to have more roms with ArchiDroid Optimizations to choose from;)
[Nexus 4 Android Development] sandy7874:
Layers or CMTE?
[Nexus 4 Android Development] ChainFires Son:
I might just give this a try, loving the glow effect of the navbar.

---------- Post added at 06:56 AM ---------- Previous post was at 06:53 AM ----------

It supports layers. You should check out the video about it! Its actually quite impressive.
[Nexus 4 Android Development] brandonabandon:
Nav bar is themed with neon green layer theme from play store in video.
[Nexus 4 Android Development] kevinnol:
but I lose my precious ArchiDroid Optimizations if I flash the offical build yeah? :p

also any chance you could post the md5 hash?
[Nexus 4 Android Development] brandonabandon:
Correct. Official has no optimisations. Md5's add to op.
[Nexus 4 Android Development] sandy7874:
hi,

Can I use Quanta kernel with this rom?
[Nexus 4 Android Development] ChainFires Son:
Working with quanta, even tested this with hellscore with great success also
[Nexus 4 Android Development] *Jonny*:
Supported f2fs?
[Nexus 4 Android Development] brandonabandon:
According to the , data and cache. I don't format personally. Try the broken g+ page.
[Nexus 4 Android Development] brandonabandon:
48 appears to be default/max.
[Nexus 4 Android Development] aaminotti:
Great ROM! Thanks !
[Nexus 4 Android Development] elliot2112:
I'm unable to flash this. It gets stuck when I try to install. Any idea why this might be happening? Thanks.
[Nexus 4 Android Development] brandonabandon:
Explain more thoroughly. I don't understand "stuck." You mean stuck to your hand?
[Nexus 4 Android Development] elliot2112:
Ha, good one. In recovery when I flash the ROM it just stays on that screen. It never finishes the install. I have to power off and boot back in recovery to get out.
[Nexus 4 Android Development] brandonabandon:
Reflash yer recovery. I've never heard of this error. No ui print? Flash a different recovery otherwise. I'm using mtp fix twrp. BTW, flashing can be 2-3 minutes process.
[Nexus 4 Android Development] elliot2112:
I'm using latest twrp. What is mtp fix twrp?
[Nexus 4 Android Development] elliot2112:
I tried again didn't change anything and it worked. I do get google play services stopped all the time though. There's an easy fix for that right? I can't remember what it was.
[Nexus 4 Android Development] brandonabandon:
Toggle GPS to device only. Depends on which gapps.
[Nexus 4 Android Development] elliot2112:
OK I'll try that. I'm using latest banks.

---------- Post added at 06:45 PM ---------- Previous post was at 06:17 PM ----------

OK everything seems to be working great. Thank you for your help.
[Nexus 4 Android Development] ChainFires Son:
Live been using this ROM for a while and haven't had any issues so far. But just one question, Broken pop and Broken Is aren't the same ROM right? Used both and they both seem similar.
[Nexus 4 Android Development] brandonabandon:
Brokenos = 4.4.4 brokenpop = 5.1.1
[Nexus 4 Android Development] brandonabandon:
Final lp build. Next is 6
[Nexus 4 Android Development] ChainFires Son:
Looking forward to it!!!!