yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Core.] Agasharr:
Dual booting - the idea:

Use of recovery partition to boot second rom ( stock recovery isn't very useful anyway)

How to on post:

http://xdaforums.com/showpost.php?p=63735205&postcount=10

Already tested:

Boot from SD card possible.

Video:

http://www.dailymotion.com/video/x3d8xq1_g386f-dual-boot-from-sd-card_tech

Cons:

lack of recovery makes flashing roms rather complicated (but we can't use stock recovery for that anyways)

second rom must be compatible with kernel

I know there's nothing interesting to be booted from sd card for now. But I hope that it'll be useful to test any compiled or ported rom, yet still have a fully usable phone.

Bypassing secure boot - kexec idea:

Kexec

In short words it runs "stock" kernel and then it runs any other kernel.

As we know that stock kernel can be modified and repacked in boot.img.

The difficult is to implement kexec hardboot to kernel.

I already tried twice with no succes.

More detailed description:

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

TO DO LIST:

boot from /recovery

- add hard kexec to Samsung kernel - most important

- repartition phone with 'parted' to dualboot from internal memory - low priority, but everyone may try

Already done:

- boot from /recovery with custom Samsung kernel (should be easy)

- boot from sd card possible

- boot from /recovery with changed initramfs - is it possible or will secure boot react?
[Samsung Galaxy Core.] bobo159951:
--------------------------------------------------------------------------------------------------------------

Version Anglaise - English Version

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

Hello,

I'm very thankful that you're there to lead this project.

Such as you, I want to pass this problem of secure boot to create a custom ROM (cyanogenmod in fact).

However I'm just a web developer (PHP, Javascript...) and I know just a little (very little :D) the Java (but no oriented-object).

I want to be useful... So have you some tasks to assign me ?

While I'm waiting your answer, I will read some docs !

(Sorry for my english, if you don't understand me I could try to explain in other words :) )

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

Version Française - French Version

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

Bonjour,

Je suis vraiment content que tu sois là pour gérer ce projet.

Comme toi, je voudrai passer ce problème de sécurité au démarrage pour créer une ROM custom (Cyanogenmod en fait).

Cependant je suis juste un développeur Web (PHP, Javascript) et je connais un petit peu (vraiment un petit peu) le Java (mais pas la programmation orientée objet).

Je souhaiterai être utile... As-tu quelques tâches à me confier ?

En attendant ta réponse, je vais lire quelques documentations !
[Samsung Galaxy Core.] AmineI:
Hello ! In the past, i already managed to compile a CWM and TWRP for our phone. But well, sadly i ran into the secure boot issue.

Now i can't even work anymore on that, since my pc is broken, and i lost almost everything. But if we understand how to bypass it i'll be glad to restart my work on it anyway, as soon as i got a new computer ^^

BTW i'm french too :p
[Samsung Galaxy Core.] Szawo:
Thanks for awesome job, [MENTION=5469444]Agasharr[/MENTION].

After seeing many questions how to help you with development, I thought it would be nice to have a TODO list in first post so anyone could try to "do the magic" with their devices.

Example goals:

boot from /recovery

☐ boot from /recovery with custom Samsung kernel (should be easy)

☐ boot from /recovery with changed initramfs - is it possible or will secure boot react?

☐ add hard kexec to Samsung kernel - most important

☐ repartition phone with 'parted' to dualboot from internal memory - low priority, but everyone may try

☐ fix power off problem

Please write your own list and add to main post.

Could you answer me a question in 3rd goal - can we change initramfs when secure boot is enabled?

Sorry about my English and a bit low quality of this post but I think we have to make the thread alive and every help count. I don't have Core LTE atm but it is sad how few ppl are working with it.
[Samsung Galaxy Core.] Agasharr:
Hi.

Firstly:

Your english is perfectly understandable. It's not a native language for most of us, mistakes are naturally so we shouldn't care that much about it. It's not a english philology.

Second:

To do list is a great idea, I'll update the first post, hope You don't mind if I just copy yours :)

As for initramfs I'll check and let You know next week.

Third:

I know some c++ and php basis, but never consider myself as a dev. I'm just and user who can't wait any longer for someone to do the job ;) I spend almost all my free time "playing" with this phone. The problem is that I've full time job, wife, 2 kids, i'm helping my wife run her business, and i'm selling modules on prestashop addons so my all free time is in fact very little.

PS. broken PC is not an excuse ;P I currently run on old netbook with amd e450 cpu as graphic card in my PC breaks up almost 2 months ago.
[Samsung Galaxy Core.] bobo159951:
Great idea for the todo list !

Firstly, I tried to extract my boot.img however the tuto which I read wasn't very adapted...

Have you some websites to advise me ?
[Samsung Galaxy Core.] Agasharr:
hi, if You insist to dump boot.img from a phone this is a good guide:

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

But the easiest way is to unpack it from downloaded firmware:

http://www.sammobile.com/firmwares/database/SM-G386F/
[Samsung Galaxy Core.] bobo159951:
We may decide on which firmware of this phone we will work together in order to haven't any sort of compatibily problems, no ?

I download this firmware personally : G386FXWUAOI2

-- On devrait peut-être décider sur quel firmware de ce téléphone nous devrions travailler pour ne pas avoir de problème de compatibilité, non ?

J'ai téléchargé ce firmware personnellement : G386FXWUAOI2
[Samsung Galaxy Core.] Agasharr:
I was using boot and system img from latest polish and french firmware and mixed them without any problems. But we can stick with french.
[Samsung Galaxy Core.] Agasharr:
Post updated:

How to dual boot from sd card:

What You need:

sd card - kinda obvious ;)

micro sd card reader - can be useful ;)

linux (or other way to unpack and copy system.img to sd card)

Terminal Emulator installed on phone.

How to:

With gparted on linux (or on windows with any program capable of creating ext4 partition)

Create partitions on sd card:

1. it not necessary but I advice to create some fat32 partition of size You wont, it will be available as sd card on base rom, without this partition base rom will constantly notify that sd card is damaged and You need to format it.

2. cache partition - ext4 format - stock size is 200 MB

3. system partition - ext4 format - stock size is 1475 MB

4. data partition - ext4 format - size You want

Copy system.img to system partition:

On linux:

unpack system.img to some folder

copy simg2img to that folder and create in the same place folder sys (it's an example)

open terminal and paste:

simg2img system.img sys.raw

then:

sudo mount -t ext4 -o loop,rw sys.raw sys/

sys.raw will be mounted in sys folder and You can copy files from there

if You need a root for that, open terminal in sys folder and paste:

sudo cp -r * /patch/to/your/system/partition/on/sd/card

On windows:

unknown

When You all done with sd card it's time to place it in phone and make sure how partitions are mounted.

Run terminal emulator and type:

cat /proc/partitions

It'll show all partitions on a phone, check your partitions names if You are not sure check size. You need some math to do so, as You have to divide blocks by 1024, for example 204800 / 1024 it's 200 MB.

It's time to mod fstab.u2evm from boot.img . It defines mount points so You have to change mount points for system, cache and data partitions.

It looks like "/dev/block/mmcblk0p18" (stock cache) and after change: "/dev/block/mmcblk1p6" (cache on sd card) in my case.

On windows:

Repack boot.img, rename new file to "recovery.img" and make flashable tar with

"tar-Tool_Odin3-v3.07_by_mkh.mourad"

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

Flash with Odin and boot to recovery.

First boot take about 15 minutes.
[Samsung Galaxy Core.] bobo159951:
Great works ! doesn't it slow down ?

I'm sorry I didn't have so much time to work on it but also I have a problem with the Java JDK on linux :-/
[Samsung Galaxy Core.] Agasharr:
Well, phone boots like 3 times slower than normal and lags at the beginning, but after a while it runs almost like normal (at least with less demanding tasks). Performance drop is strictly related to sd card quality. Better the card better the performance will be. I have old 8 GB card class 10.

I'll update the first post with a short video.

As for your problems with java, You can use builduntu:

http://xdaforums.com/showthread.php?t=2585828
[Samsung Galaxy Core.] bobo159951:
I'm sorry but finally I decided to sell my phone..
[Samsung Galaxy Core.] AmineI:
It's interesting that you can boot on sdcard. But can you do the same with recovery ? Booting a recovery in a micro sd ? y the way i'm still searching for hints to bypass the secure boot.

I made some tests :

--Booting Stock recovery with stock kernel (but reflashed) - OK

--Stock Recovery extracted, Edited (config text files) and repacked - OK, Boot after showing the red exclamation mark

-- Custom recovery with stock kernel - won't skip the red exclamation mark

--Stock Recovery Extracted and repacked with custom kernel - Not Yet Tested

--Custom Recovery with custom kernel : Not Yet Tested

wondering if a custom kernel would change something, since the G386W needed a custom kernel to boot into custom recovery
[Samsung Galaxy Core.] Agasharr:
No, I'm not booting "boot" partition from sd card, just replace recovery with another boot that points to system on sd instead of internal memory.

If stock boot partition can be repacked with custom kernel and it works well, I presume that recovery will work in similar way.

Not sure if it'll help but I already removed SECURE_BOOT_ENABLE verification from drivers/char/rtapi/rtboot/rtboot and rt_boot_sub

changing in rt_boot_sub from:

#ifdef SECURE_BOOT_ENABLE
data_addr = ioremap(PRIMARY_COPY_ADDR, info.image_size);
#else
data_addr = ioremap(info.boot_addr, info.image_size);
#endif

to:

data_addr = ioremap(info.boot_addr, info.image_size);

and in rtboot from:

#ifdef SECURE_BOOT_ENABLE
phys_cert_addr = (PRIMARY_COPY_ADDR + g_rtboot_info.image_size + 0x00001000) & (0xFFFFF000);
cert_size = read_rt_cert(phys_cert_addr);
if (cert_size == 0) {
MSG_ERROR("[RTBOOTK] |read_rt_cert failed\n");
do_iounmap_register();
ret = misc_deregister(&g_device);
if (0 != ret)
MSG_ERROR("[RTBOOTK] |misc_deregister failed ret[%d]\n", ret);
MSG_HIGH("[RTBOOTK]OUT|[%s] ret = 1\n", __func__);
return 1;
}

ret = sec_hal_memcpy((uint32_t)g_rtboot_info.boot_addr, (uint32_t)PRIMARY_COPY_ADDR, (uint32_t)g_rtboot_info.image_size);
if (ret == SEC_HAL_CMN_RES_OK) {
ret = sec_hal_authenticate(phys_cert_addr, cert_size, NULL);
if (ret != SEC_HAL_CMN_RES_OK)
MSG_ERROR("[RTBOOTK] |sec_hal_authenticate ret[%d], phys_cert_addr[0x%08x], cert_size[%d]\n",
ret, phys_cert_addr, cert_size);
}

if (SEC_HAL_CMN_RES_OK != ret) {
MSG_ERROR("[RTBOOTK] |RT boot secure error\n");
MSG_ERROR("[RTBOOTK] |boot_addr[0x%08x], image_size[%d]\n", g_rtboot_info.boot_addr, g_rtboot_info.image_size);
do_iounmap_register();
ret = misc_deregister(&g_device);
if (0 != ret)
MSG_ERROR("[RTBOOTK] |misc_deregister failed ret[%d]\n", ret);
MSG_HIGH("[RTBOOTK]OUT|[%s] ret = 1\n", __func__);
return 1;
}
MSG_ERROR("[RTBOOTK] |secure boot on\n");
#else
MSG_LOW("[RTBOOTK] |write_rt_imageaddr bootaddr[%x]\n", bootaddr);

MSG_LOW("[RTBOOTK] |write_rt_imageaddr start\n");
write_rt_imageaddr(bootaddr);
#endif

to:

MSG_LOW("[RTBOOTK] |write_rt_imageaddr bootaddr[%x]\n", bootaddr);

MSG_LOW("[RTBOOTK] |write_rt_imageaddr start\n");
write_rt_imageaddr(bootaddr);
[Nexus 5X General] Cum:
i thougt to start a european shipping waiting room for all the guys who was allowed to order from 2.11.15.

I ordered at 07:30am GMT+1, not shipped yet
[Nexus 5X General] RedMaio:
Ordered yesterday from google store the 32gb carbon. I was pleased to know that here in italy they give you a free chromecast (2015) with the purchase of a 5x or 6p.

What ETA does it show to you? I see 12-16 November as estimated delivery

Inviato dal mio SM-T805 utilizzando Tapatalk
[Nexus 5X General] Trinity86:
The same for me... Ordered this morning. Same ETA, 12-16 november
[Nexus 5X General] Cum:
11.-13. DE

Btw: Free Chromecast too
[Nexus 5X General] KennyG123:
We appreciate your efforts but it really is best to keep shipping waiting room posts all in one place

Otherwise we will have people posting in both threads

Those that were able to order early are receiving their devices and now the thread will be taken over by European orders and waiting

Thanks for your understanding
[LG V10 Q&A, Help & Troubleshooting] reuven1002:
What is the difference between the t-mobile variant and the international one accepted that the T Mobile version doesn't come with headphones?

Do I get updates from LG or need to wait for t-mobile to release it also like with a galaxy s6 edge on AT&T? That btw I waited forever!!

There's going to be an international variant to the us unlocked or only carriers?
[LG V10 Q&A, Help & Troubleshooting] mgbotoe:
Tmobile version update is provided through tmobile. But this is xda, I am sure can run international update at some point.

Tmobile version currently got unlocked bootloader.

If you wait a few more there should be some international varient unlocked to work with tmobile, but you wont see them being sold in store....ebay maybe amazon is best bet.
[P3300, MDA Compact III  upgrading etc.] Innovator:
Hi,

I read several posts, but without real solutions.

Maybe someone can help us all.

Dutch people with an Artemis that is stuck at the first splash-screen need the original dutch HTC Rom. It doesn't exist as far we can find. It's not a t-mobile or something, just not branded. If anyone has a WM5 original dutch we would be glad also.

The problem is we want to flash with USPL to other WWE rom, we can get into bootloader mode without problem. It get stuck at 3% when trying to flash rom.

When running USPL it asks to copy the same files again several times, and then gets stuck at 50..... with 2 error messages, cannot copy cmd.exe or something.

My question is : does anyone know the real solution or has original HTC rom?

Thanks !!!!!

Innovator
[P3300, MDA Compact III  upgrading etc.] mytrinity:
Be patient

Hi Innovator,

I expect within a few days/weeks HTC is going to release the official Dutch WM6 update. That update should work on your device as long you are able to get into the bootloader.

Otherwise: repair under guarantee

Regards,

mytrinity
[P3300, MDA Compact III  upgrading etc.] tonsw:
xp machine

Hi :p

i think you do it from a vista machine and then i have the same problem

just after i started in my xp machine and did another upgrade to my P3300 everything worked fine

:) :D
[P3300, MDA Compact III  upgrading etc.] ebaart:
Do it with SD card Flashing.

You can read it in this link:

http://wiki.xda-developers.com/index.php?pagename=Artemis_SD_Card_Flashing
[P3300, MDA Compact III  upgrading etc.] mafkeesje:
wm6

hello

i have got the same problem

but the solusion is simple

ik have flashed first the phone with orginal rom wwe wm5

after then uspl than WWE wm6

thats a rom i found on the forum and it works like hell

on dutch:

ik had het zelfde probleem heb het vandaag opgelost

ik kon nog wel in de bootloader komen dus dat was nog okee

ook ik had het zelfde probleem dat de rom update bij 3% afbrak met een fout melding

dat heeft volgens mij te maken dat het een verkeerde rom versie is

ik wilde van de engelse versie een nl versie maken dat ging dus helemaal fout

ik hoop dat je wat aan deze info hebt
[P3300, MDA Compact III  upgrading etc.] Innovator:
WM5 WWE

Yes, I know how to solve this, but you first need to have this rom! As ftp has been closed, nowhere to find...
[P3300, MDA Compact III  upgrading etc.] RUSSELLDN:
My MDA T-Mobilecompact3 GER,not accept the pther roms. Please tell me how should I do.Thank you very much!

I think I need T-Mobilecompact3 1.13.111.1GER mda rom.

IT SHOWS: ipl1.130001　spl1.130000，os1.27.00

I have tried RUU upgrade art_tmouk_11311001_024990_wwe_ship.exe,100%complet ed,but the MDA don't restart successful.

Who can help me? Please!!

My MDA is:T-Mobile compact3,ARTE110,HTC Innovation, Made in Taiwan,

WWE-Reg.-Nr.DE 60 800 328 IMEI 351695012219996

Thank you very much!
[P3300, MDA Compact III  upgrading etc.] donpetaka:
Hi mafkeesje

I wonder how did you get the original dutch rom wwe wm5 to flash de device

I can get to the boot loader, but I can't find anyone holding this rom !!

thx for giving the solution, can you also give the rom, or tell where to find it ?

cheers
[P3300, MDA Compact III  upgrading etc.] GuyBrush1978:
same thing here, I also want the original WM5 Dutch rom... (Not T-Mobile!)
[XDA Assist] cableguyp:
I have a Samsung Galaxy Core LTE and it was rooted. I tried to put ClockWorkMod on it but that corrupted my Recovery Mode. Then I tried flashing it to android 5.1.1 and that corrupted my android version. So now what ever I do, try to boot it up, try to put it in recovery mode, it just says, Can't do normal boot, and goes to download mode. Please help.
[XDA Assist] Droidriven:
Hello,

Post your question here:

http://xdaforums.com/galaxy-core/help

The members there should be able to help, good luck.
[Nexus 6P Q&A, Help & Troubleshooting] treIII:
Has anyone noticed the list you're battery percentage gets the more mah it consumes? After a full charge and I'm using around 200 mah. At 20% the screen is using 600 mah if I'm understanding this correctly. Any input from someone who understands this would be appreciated

Sent from my Nexus 6P using Xparent Blue Tapatalk 2
[Nexus 6P Q&A, Help & Troubleshooting] gaming09:
So i hate the google photos app, I use to to backup and store my photos but the native app is just aweful imo, anyone know if theres a native gallery app or a decent third party?
[Nexus 6P Q&A, Help & Troubleshooting] Pecata:
https://play.google.com/store/apps/details?id=com.diune.pictures

https://play.google.com/store/apps/details?id=com.alensw.PicFolder

I am sure there are more out there-these 2 I have used personally and they are pretty good :D
[Nexus 6P Q&A, Help & Troubleshooting] gaming09:
thanks ill give these a try, i found out i can sort "albums" on google photos by going to picasa.google.com selecting hte album >organize adn then sort from newest to oldest i think its insane we have to do that lol
[Nexus 6P Q&A, Help & Troubleshooting] Pecata:
I agree...it is...I got used to it though...
[Nexus 6P Q&A, Help & Troubleshooting] fchowd0696:
What's working wrong with it? I love it.
[Nexus 6P Q&A, Help & Troubleshooting] gaming09:
as personal preference im not a fan of "date view" I organize via folders so my OCD kicks in, I create albums(collections) and by default its oldest to newest (which can be fixed via picasa pc web interface after some cursing and google) I just am not fan of the overall interface. Ideally; for example, id have a folder on my device and google photos would keep that folder so if i have a reddit saved images folder lets call it "reddit" it would backup my images to that folder and keep the folder structure on the google photos side.

Theres nothing wrong with the photo's app per-say i just prefer the "gallery" method of sorting and organizing
[Nexus 6P Q&A, Help & Troubleshooting] itch808:
QuickPic, probably THE BEST 3rd party gallery app
[Nexus 6P Q&A, Help & Troubleshooting] krazyq:
yup, I've been using QuickPic for a while

Google Photos is terrible apart from being able to back up my photos for free
[Nexus 6P Q&A, Help & Troubleshooting] cammykool:
https://www.androidfilehost.com/?fid=95916177934530310

That's what I use. Just install the apk from within the zip.
[Nexus 6P Q&A, Help & Troubleshooting] cammykool:
Screenshot from my 6p
[Nexus 6P Q&A, Help & Troubleshooting] Burata:
Absolutely!! Quick pic is THE best Android gallery app BY FAAAAAAAAAAAAAAAAAAR. Seriouisly it's hands down the best. I can't even begin to list the reasons why cuz I don't feel like making a wall of text to crit you for over 9000!
[Nexus 6P Q&A, Help & Troubleshooting] radeon962:
QuickPic
[Nexus 6P Q&A, Help & Troubleshooting] TechBSwift:
In my opinion Sony album is better than quick pics. You can find the apk on xda
[Nexus 6P Q&A, Help & Troubleshooting] frigidazzi:
I've been using kk gallery app since it's basically just the aosp one.

https://play.google.com/store/apps/details?id=com.moblynx.galleryics
[Nexus 6P Q&A, Help & Troubleshooting] charesa39:
Another vote for QuickPic here. Best replacement I found when Google Photos took over as the primary app for Nexus devices.
[Nexus 6P Q&A, Help & Troubleshooting] Hogyoku:
Focus by Francisco Franco

If you get the beta of his g-plus you can use your fingerprint for a photo vault !

https://play.google.com/store/apps/details?id=com.franco.focus&hl=en_GB
[ONE Q&A, Help & Troubleshooting] reppa:
Hi everyone;

Am having this problem and it's really annoying, i searched the forum before posting, and didn't find something related to this.

So my problem is that i totally lost my Data connectivity, no 3G no LTE, i checked the APN parameters and it was all correct.

Meanwhile i have totally no problem with WIFI, i flashed the radio, and didn't help.

For information my operator is French "FREE".

Thanks in advance for any help.

Best Regards
[ONE Q&A, Help & Troubleshooting] reppa:
Any help please!?
[ONE Q&A, Help & Troubleshooting] ryantek:
The best recommendation that I can give you is to try to get a better radio (modem flash) on your device. My experience with the one plus has not been the best. I was having the same problems as you on Att US flashed a different modem and it works better, but is not great. Oneplus did replace the phone for me. (it only took them 2 months)
[ONE Q&A, Help & Troubleshooting] reppa:
Thanks for your answer.

actually i totally don't have any connectivity except wifi, i tried flashing a different Modem, didn't change anything, i flashed now with oxygenos, so i have the baseband coming with.

Do you have any suggestion of a good modem firmware?

Thanks in advance
[Xperia Z5 Premium Accessories] kamalaggi:
Hi,

Is there any good cases out yet for the Z5 Premium?

I'm looking for a clear one that covers the buttons but not the fingerprint sensor. I like the Orzly Fusion Case but it doesn't cover the buttons. http://www.ebay.co.uk/itm/161835522498?_trksid=p2055119.m1438.l2649&ssPageName=STRK:MEBIDX:IT

I pre ordered mine and hope to receive it in a couple of weeks :)
[Xperia Z5 Premium Accessories] psygnosi:
Tudia matte case.

View attachment 3554024View attachment 3554025View attachment 3554028View attachment 3554029View attachment 3554030
[Xperia Z5 Premium Accessories] massamino:
What brand glass screen protector do you use?

I have one from Roxfit, but I think it's made by Nilkin (same cloth, alcohol cloth and peel label) and it fits nice (size wise), but on the edges of the glass there is a space with air under it. You can swipe it way, but when you release it comes back.

It's most visible on the top, on the camera and light sensor hole (see img).
[Xperia Z5 Premium Accessories] psygnosi:
View attachment 3556944 bought from eBay.

Front and back.
[Xperia Z5 Premium Accessories] psygnosi:
Amzer pudding case.View attachment 3556946View attachment 3556948View attachment 3556949View attachment 3556950View attachment 3556951View attachment 3556952View attachment 3556953
[Xperia Z5 Premium Accessories] psygnosi:
Terrapin thin fit.

View attachment 3556956View attachment 3556957